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 Join to answer
Community showcase
Teodora [Botron]
Published Feb 15, 2018 in Marketplace Apps

Jira Inferno: The Nine Circles of Jira Administration Hell

If you spend enough time as a Jira admin - whether you are managing a single, mid-sized instance, a large enterprise one or juggling multiple instances at once - you will eventually find yourself in ...

1,209 views 6 19
Read article

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