Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

filtering sub tasks according to it's story status in Jira Cloud Edited


Can I filter sub tasks which related only to an open stories without using ScriptRunner?

With automation maybe?

Thanks :)

1 answer

Hi @dorin gez  -- Welcome to the Atlassian Community!

Depending upon any other criteria you have, I expect you can do this.  You could use LookupIssues, Create Variable, and Branches to dynamically build a JQL query that is not possible with out-of-the-box Jira.  And...

What problem are you trying to solve by doing that?

Best regards,


Hi @Bill Sheboy , thank you very much!

I want to know which sub-tasks are open for open stories only.

From what I understand, this cannot be done with basic JQL...

Best regards,



Like Bill Sheboy likes this

Thanks for explaining that.  Please let the community know if you need help when you create the rule. 

And, consider posting an image of your rule and marking this question as answered when done.  That will help others with the same question find solutions faster.  Thanks!

Like dorin gez likes this

Hi bill,

I did not completely understand your solution..  I would be happy if you could refer me to more info on the subject or expand your answer.

I realized you can mostly solve this with just JQL.  The question is how do you want to access the list of sub-tasks?   If you just need the list...

For example, if you use the following query and add the subtasks field to the results...

project = myProject
AND issueType = Story
AND statusCategory != Done
ORDER BY subtasks ASC

The open issues with sub-tasks will be at the top of the list and the sub-task keys will be shown in the results.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Marketplace Apps & Integrations

New Cloud Apps Roundup - Spring 2021

Atlassian's marketplace partners have had a very productive start to 2021! Since our last roundup, our developer community has added over 160 new cloud apps to the Atlassian Marketplace to help you...

124 views 3 14
Read article

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