JQL search on children

Hi,

I would like to find all issues that have children subtasks in a specific status, and also all issues that don't have children in a specific status.

Is it feasible with the default JQL features, or shall I develop my own plugin?

Thanks

Stéphane

3 answers

1 accepted

Accepted Answer
0 votes

It is not feasible with the default search. JQL Tricks plugin has a subtask method to do this but to warn you, it is a commercial plugin.

You may want to look at look the following plugin. It is only tested up to version 4.4.5 but it might be easier to bring a plugin up to a version level verses writing the logic.

https://plugins.atlassian.com/plugins/org.craftforge.jira.craftforge-jql-functions-plugin

•issue in/not in parentIssuesFromFilter("filter name or its id")- finds all parents of subtasks found by specified saved filter
•issue in/not in subtaskIssuesFromFilter ("filter name or its id")- finds all parents of subtasks found by specified saved filter
•issue in/not in parentIssuesFromQuery("JQL query") - finds all parents of subtasks found by specified specified query
•issue in/not in subtaskIssuesFromQuery("JQL query") - finds all parents of subtasks found by specified specified query

Just checked to see what issues this plugin might have open and it looks like it is being upgraded to support 5.X and claims to being released today.

I noticed that the craftforge plugin is now uploaded to the support Jira 5.X now.

Hi,

Try if

https://marketplace.atlassian.com/plugins/pt.lt.lfcribeiro.jira.jqlLTFunctions

Solves your problem, nevertheless it will let you run SQL functions using executeQuery()

Regards,

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Sep 18, 2018 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...

22,401 views 2 7
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