• 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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Jira

5 ways you can make the most of Jira Software and Bitbucket Cloud

As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...

70 views 0 5
Read article

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