Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Fetch the Parent Epic details

Salini Patnaik
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 6, 2024

I have created 3 epics - epic 1, epic 2, epic 3. Epic 1 is the parent of epic 2 and epic 3.

I need to query which will retrieve only the parent i.e only epic 1. I don't want to emntion the child epics in the query as I may have multiple epics linked to parent epic 1. Please advise the JQL

2 answers

2 votes
Trudy Claspill
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 6, 2024

Hello @Salini Patnaik 

Welcome to the Atlassian community.

The default issue hierarchy in Jira is

Epic
|-- standard level issues ( i.e. Story, Bug)
|-- subtasks

Jira recognizes parent/child relationships only between an issue type at one level and an issue type at an adjacent level. The cold is always the lower level of the pair.

An issue of a given type can't be a parent of an issue of a type at the same level. So an issue of type Epic can't be the parent of another issue of type Epic.

You can use the generic Link Issue feature to artificially create a relationship between issues but Jira will not recognize that as a parent/child relationship.

Can you provide a screen image of "epic1' that shows its relationship to the other Epics?

Trudy Claspill
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 7, 2024

I have linked Epic 1 as parent of Epic 2 and Epic 3.Its linked relationship.

In this linked relationship, I need to query the Epic which is linked as 'Parent Of' other epics.

If you have only native Jira filtering capabilities the ability to filter for issues based on them being linked to other issues if limited. Refer to linkedIssue() and linkedIssuesOf() functions:

https://support.atlassian.com/jira-software-cloud/docs/jql-functions/#linkedissue

To be able to filter for...

  • All Epic issues that have a "Parent of" link to a dynamic list of Epics

...you would need a third party app. Are you willing to consider that?

Is this a one time need or an ongoing need?

What do you want to do with the results of the filter? Do you want to use the results in an Agile board or Dashboard? Do you want to provide the results to 1..n users periodically?

0 votes
Monika Rani
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 6, 2024

@Salini Patnaik Welcome to the Atlassian Community!

Could you please explain to me why you are saying Epic 1 is the parent of other epics?

 

Salini Patnaik
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 6, 2024

I have linked Epic 1 as parent of Epic 2 and Epic 3.Its linked relationship.

In this linked relationship, I need to query the Epic which is linked as 'Parent Of' other epics.

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, team '25, conference, certifications, bootcamps, training experience, anaheim ca,

Want to make the most of Team ‘25?

Spend the day sharpening your skills in Atlassian Cloud Organization Admin or Jira Administration, then take the exam onsite. Already ready? Take one - or more - of 12 different certification exams while you’re in Anaheim at Team' 25.

Learn more
AUG Leaders

Upcoming Jira Events