JQL (or plugins) to find all User Stories having only Open Sub-Tasks


I want to be able to see only "fresh" user stories - these would be User Stories for which all Sub-Tasks are with status = Open. Is it possible with JQL or with the help of some plugins?

1 answer

By Story, I'll assume you mean one JIRA issue.


So you're looking for JQL for something like find issues which "has subtasks that are open AND does not have subtasks in any other status" ...

... as far as I can tell, this is impossible in JIRA without plugins. You can search for subtasks of one issue in vanilla JIRA, using something like parent = TEST-56, but that's about it.


Here someone suggested a free addon "AM Utils" which claims to offer parent and subtask search: 




There are also expensive commercial plugins such that can do this, such as as J-trickshas subtask JQL query) or Craftware Search Linked Issues (has subtask search) or ScriptRunner (which can do almost anything you can imagine. It was great until they added a price tag to the formerly free plugin).

Atlassian are unlikely to include better subtask handling in their JQL anytime soon IMO, since there's several plugins that can do it, so no one will vote for feature requests.





I have "AM Utils" installed. Is there a query that can solve the problem then?

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted 7 hours ago in Jira Service Desk

Looking for anyone who has switched from Zendesk to Jira Service Desk

Hi Community! The Jira Service Desk marketing team is looking for customers who have successfully switched from Zendesk to Jira Service Desk!   We’d love to hear your thoughts on the pros and ...

13 views 0 1
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