It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

JQL filter for showing only open stories and their subtasks

I'm trying to create a filter to show only open stories in an active sprint and the subtasks under the stories. I have "issuetype = Story AND status not in (Done,Resolved)" which works fine, but does not show the subtasks attached to the story. When I try to 'issueFilter = subtask' I get an error. 

3 answers

1 accepted

0 votes
Answer accepted

Was able to solve it by making the JQL simple: 

status != Done

Jack Community Leader Oct 01, 2019

Be careful with this method. You really should be using Resolution is not empty. Resolution should always be set when transitioning to any ‘Done category status’ and cleared if ever reopened.

0 votes
Jack Community Leader Sep 21, 2019

The fact that you have declared issuetype = story will exclude sub tasks.

You can use something like that if you are okey with explicitly listing story keys.

(issuetype = Story AND status not in (Done, Resolved)) OR (parent in (STORY-1, STORY-2, STORY-3, ....) AND status not in (Done, Resolved))

Suggest an answer

Log in or Sign up to answer

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you