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 vote

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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Posted 11 hours ago in Jira

We want to know what Jira Service Desk apps you're using!

Hi Community! My name is Amir and I’m on the Jira Service Desk product marketing team at Atlassian. Our team would love to understand how you’re leveraging our ecosystem for Jira Service Desk. Wha...

34 views 0 5
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