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

Complex JQL query

Hi there,

"Give me all issues of type 'sub-task', which are not closed yet, but whose parent story are closed"

Is there any way I can phrase this in JQL?

Unfortunately, this doesn't work:

issuetype=Sub-task AND status!=closed and parent.status!=closed

cheers - rene

3 answers

1 accepted

0 votes
Answer accepted

You could try the search intent plugin ( and use a query like this :

issuetype=Sub-task AND status!=closed and SearchIntent = parentsInQuery("status != Closed")

I can't test this so I'm sure if it will work. You could also check out the JQL tricks plugin:

take a look:

requires a plugin installed, but is the same example with tasks and subtasks.


Cool stuff! Will try the plugins. Thanks Alex + Paul!

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