Create
cancel
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

JQL Query to find child issues of an Epic

JQL Query to find child issues of an Epic

2 answers

2 votes
Muhammad Ramzan Community Leader Aug 22, 2019

JQL Search Extensions for Jira & reports can help you to get all issues with sub tasks for epic

 

for example

Following query will get all issues and sub tasks related to the epic id "test-24" , please see the attached image.

issue in allIssuesInEpic(test-24)

 

here is the documentation link for all queries.

https://jqlsearchextensions.atlassian.net/wiki/spaces/SEARCH/pages/30497099/JQL+Reference+Server#JQLReference(Server)-LinkedIssueTypeepics.png

1 vote
Jack Community Leader Aug 22, 2019

"Epic Link" = ABC-123

this will give you all stories/tasks associated w/ the specific epic

Hey Jack,

this doesn't give me the sub-tasks tho. 

Any idea how to get those?

Thanks

Jack Community Leader Jul 08, 2021

You can’t achieve that out of the box. There are many posts in the community discussing this matter. Here is a good example that might help explain options - JQL-Query-Sub-Tasks-Parent-Epic-or-User-Story 

basically you’ll need an add-on to achieve this.

I found how to do it!

there's a command called parentEpic, it does exactly this:

parentEpic in (EPIC-1, EPIC-2)

it's built into Jira, no need for external add-ons 

Jack Community Leader Jul 08, 2021

ahhhhhh yes that was added awhile back. if you know the epic id that works well

Suggest an answer

Log in or Sign up to answer
TAGS

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