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

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