Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to query the Stories with not closed sub-tasks?

Stibally Guardado
Contributor
May 22, 2018

Guys, I'd like to build a query that gives me all the stories that have not closed Sub-Tasks tied to it, and also all the Epics that have no stories underneath or are all closed. Does anyone have done this before?

I don't seem to find a way.

 

Thanks!

1 answer

1 vote
Thomas Schlegel
Community Champion
May 22, 2018

Do you have the Scriptrunner app? If so, you can use the following query for your first problem:

issuetype = story and issueFunction in parentsOf("status = Closed")

Stibally Guardado
Contributor
May 22, 2018

Hi @Thomas Schlage  I don't have the Scriptrunner app, but I'll give it a try.

 

Thanks!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events