• 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 votes

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 Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,755 views 11 18
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot