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

How do I search for all tasks that contain subtasks?

Status, resolution, type, etc. doesn't matter. I want to find every task in the system that has subtasks associated with it.

3 answers

You can achieve this using a plugin like script runner or JQL Search Extensions for Jira & reports


I am using JQL Search Extensions for Jira & reports and following query will fulfill this need if you use the same plugin.


It will return all issues which at least have one sub task

issue in subtaskCountGreaterThan(1)
issuetype in subtaskIssueTypes()

will display subtasks and the parent as well

Thank you. Is there a way to only show the parents?

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Jira

Demo Den Ep. 7: New Jira Cloud Reports

Learn how to use two new reports for next-gen projects in Jira Cloud:  Cumulative flow diagram and Sprint burndown chart. Ivan Teong, Product Manager, Jira Software, demos the Cumulative ...

273 views 1 2
Join discussion

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