• Community
  • Products
  • Jira
  • Questions
  • Search for parents with >= 2 linked issues OR >= 2 subtasks OR specific type of link/subtask should be not in/in parent

Search for parents with >= 2 linked issues OR >= 2 subtasks OR specific type of link/subtask should be not in/in parent

Hi everyone,

we are currently using jira 5.2.9 and with this plug-in: https://marketplace.atlassian.com/plugins/org.craftforge.jira.craftforge-jql-functions-plugin

i've been brooding for a while how to solve this issue but can't really seem to get this done.

I've been thinking that it's not possible with this plug-in but i'm not too sure about this.

I've been trying out querys like this:

type=parent AND issue in linkedIssueFromQuery(type=subtask2) >= 2

//doesn't work because jql doesn't relly get the ">=2" part, am i right? //

type=parent AND issue in subtaskIssueFromQuery(type=subtask3) >=2

//same as in the first example, no results since jql doesn't get the ">=2" part?//

issue in linkedIssueFromQuery("type=parent AND type!=subtask1")

//which will show me all linked issue from all the parent type tickets without the subtask1 //

but strangely jira would crash if i use this query (plug-in or jira issue?)

Sort by number of linked issues/subtask is not possible?

(what i want to have is to see the parent issues sorted by the number of linked Issues or subtask they have. I have already tried the function SORT BY but this would just crash jira again...)

hope you guys can help me with my troubles.

best regards,

min

1 answer

0 vote

Hi Min,

Nice to meet you here. Since the problem here are related to third party plugin, I would suggest you to file a ticket to them so that you will know your answer faster. You may file the ticket here:https://github.com/forgedbits/cfjirajqlfp. Hope its help. Thanks, John

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Apr 17, 2018 in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

809 views 2 19
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you