Forums

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

how do I create a query which includes tasks and subtasks of an epic?

Mary Irion
Contributor
June 20, 2023

I wish to create a filter which will display a single epic of a project and the epic's tasks and subtask.  What is the correct equation?

2 answers

2 accepted

1 vote
Answer accepted
mauricio.groth
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 21, 2023

Hi @Mary Irion

I’m Maurício, a support engineer at Appfire and I’m here to help you.

Unfortunately, using JQL of Jira, you’ll not be able to do it dynamically.

In the app where my team works, JQL Search Extensions for Jira, you can use this query to display an specific epic’s tasks and subtask:

issue in childrenOfIssuesInQueryRecursive("issuekey=ABC-1”)

Please note that we have created a support ticket https://jqlsearchextensions.atlassian.net/servicedesk/customer/portal/2/SEARCH-1105 in our portal, and we request you to sign in to the portal and let us know the username so that we can mark you as the reporter so that you will be able to access the ticket. 

Please find the below link to signup to the portal: https://jqlsearchextensions.atlassian.net/servicedesk/customer/portal/2 

Looking forward to hearing from you! 

Thanks,
Mauricio

1 vote
Answer accepted
Mikael Sandberg
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
June 20, 2023

You need an app that extends JQL in order to do this. JQL out-of-the-box cannot do a nested query that gets you this result. Check the Marketplace for apps that can do this for you.

Mary Irion
Contributor
June 20, 2023

I have several apps.  Don't need them nested, just need to pull them into the query.  I think? one needs to use "parent of" or some such phrase?

Mikael Sandberg
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
June 20, 2023

Basic JQL can only pull a known parent and the issues that are children of it, something like this:

parentEpic in (JRA-123, JRA-456)

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events