Forums

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

parentEpic = XXX-YY only returns the epic and not issues or subtasks

Oliver Nicholls
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!
March 20, 2022

Hi there,

I am using Jira Cloud and am trying to filter for all the subtasks in an epic. I found "parentEpic" which should work but it only seems to be returning the epic its self. 

I am searching:

issuetype = Subtask AND parentEpic = XXX-YY 

however it is only returning the epic XXX-YY and none of the tasks or subtasks associated. Any help or suggestions would be appreciated. 

2 answers

1 vote
Nic Brough -Adaptavist-
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.
March 21, 2022

Sub-tasks do not have Epics directly, they're linked to an epic by virtue of being part of a story that is in the Epic

Mithil Deshmukh April 30, 2022

How do you get stories under an epic?

Nic Brough -Adaptavist-
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.
April 30, 2022

"epic link = <name/key of Epic" will do it.

0 votes
Kelsie Meier March 20, 2022

Hi there,

I did something similar within a project of mine and used EpicLink to pull out the sub-tasks associated with an epic.EpicLink.PNG

Mithil Deshmukh April 30, 2022

Still doesn't work for me, just returns the epic. This is such a basic need for any project planning. Hard to believe this is not addressed by Atlassian yet.

Suggest an answer

Log in or Sign up to answer