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

This widget could not be displayed.

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

128 views 1 3
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