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

gitbee October 4, 2016

Hi,

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

1 vote
David Skreiner
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 6, 2016

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

https://confluence.atlassian.com/agile065/glossary/story

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: 

https://answers.atlassian.com/questions/43298

https://marketplace.atlassian.com/plugins/ru.andreymarkelov.atlas.plugins.utils/server/overview

 

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.

https://answers.atlassian.com/questions/148224

https://answers.atlassian.com/questions/43298

https://marketplace.atlassian.com/plugins/org.craftforge.jira.craftforge-jql-functions-plugin/server/overview

 

gitbee October 6, 2016

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