• 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

This widget could not be displayed.

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
Community showcase
Posted Tuesday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

233 views 1 3
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