Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
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

Find all tasks that contain subtasks inside using JQL

It doesn't matter what values the fields have. I am interested in the fact of the existence of a subtask inside.

2 answers

1 accepted

0 votes
Answer accepted

It seems there are no special operators in JQL for such cases but I've found the solution:

using obviously non-existent task names in combination with issueFunction in parentsOf()

like this issueFunction in parentsOf("issue != BLABLA-100")

It works! And if you wanna get issues without subtasks you can put NOT before the request described above



0 votes
Sagar Mahajan Community Leader Dec 08, 2021

Hi @Ivan Mantrov 

By default it's not possible to get the list of all sub-tasks for the parent issue, you will need a third party for the same like Script runner or JQL Search Extensions for Jira - the JQL extensions which provides the JQL functions to achieve this

Documentation links

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