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

mi.bu April 17, 2013

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
John Chin
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 8, 2013

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