The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

JQL for technical- sub tasks

Amedeo
Contributor
April 20, 2023

Good morning,

I would like to create a JQL in order to search all the sub tasks related to a list of tasks.

The tasks are with a specific component assigned and I have to filter only for those tasks in open status.

The results have to be the list of all the sub-tasks connected to the tasks.

I hope I was clear enough.

Thanks

Amedeo

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Aron Gombas _Midori_
Community Champion
April 20, 2023

You cannot do this with a single query, unfortunately.

You would need one query, something like this, to get the tasks:

component = "whatever" and status = "In progress"

And then a second query to get their sub-tasks. T

his would require using sub-queries which aren't natively supported by Jira.

But there are apps that support sub-queries, for example this one: https://marketplace.atlassian.com/apps/1214791/jql-search-extensions-for-jira-the-jql-extensions?hosting=server&tab=overview