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
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?
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...
...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?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@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?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.