Please share the JQL to fetch all subtasks that are part of an Epic

Poornima
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 16, 2023

Parent in(storyid1,storyid2...) can be used for getting all subtasks that were part of a story.

 

For our projects, we need the JQL to fetch all subtasks that are part of an Epic.

Can you please let us know, if there is any JQL to fetch all the subtasks that were part of a EPIC

1 answer

2 votes
Rudy Holtkamp
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 16, 2023

Hi @Poornima 

Welcome to the community.

You could use something like this:

parentEpic in (KEY-1) and issuetype = Sub-task

Where KEY-1 is the key of the epic.

The first clause will give you all issues belonging to the epic (story level & subtask level issues) and the second clause will limit it to only subtasks.

See also this documentation: parentEpic()

I hope this helps,
Rudy 

Suggest an answer

Log in or Sign up to answer