Forums

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

How to find all User Stories (grandchildren) under all epics (parents) under a Feature (grandparent)

Matthew Mahoney
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 28, 2025

I used to be able to use the following JQL in a non-SaaS version of JIRA:

"Epic Link" in childIssuesOf(insertJIRAKey)

With the upcoming removal of "Epic Link" to replace with 'Parent", I'm unable to use the 'childIssuesOf' part of JQL that will allow me to find grandchildren through a grandparent.

Has anyone solved this problem to find grandchildren through a grandparent that is happy to share the JQL please?

1 answer

1 accepted

4 votes
Answer accepted
Vishal Biyani
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 29, 2025

@Matthew Mahoney 

If you have a hierarchy like

Initiative -> Epic -> Story

then below JQL gives you all issues under the Initiative (TEST-1)

key in portfolioChildIssuesOf("TEST-1")

 Is this what you are looking for?

Matthew Mahoney
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 29, 2025

Hi Vishal,

Thanks for responding.

PortfolioChildIssiesOf has worked in giving me the following hierarchy

Initiative -> Epic -> Story -> Acceptance Criteria

So I've just added and 'type = User Story' to ensure that I don't bring back great-grand children.

Thanks for your help

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events