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
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
Fadoua M. Boualem
Published 2 hours ago in Trello

Using Trello to manage events

As a Jira power user, I was at first doubtful that Trello could benefit my workflow. Jira already uses boards (ones you can customize!), so why would I even need to use Trello?! In this post you will...

190 views 3 3
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