Forums

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

Query for all children in hierarchy is not working

Cristin Hernandez
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 6, 2025

Hello,

I used to use this query all the time in a previous company. It allowed me to see all the children in the hierarchy (epics, stories, tasks) and now it's not working.

(issue in linkedIssues(KEY) OR issuekey in portfolioChildIssuesOf(KEY)) AND issuetype not in (subtask) 

The key rererenced is for an initiative (issue type at the top of our hierarchy). That initiative has 1 child epic, and that epic has multiple child stories. When I run this query, the result indicates that there are no issues matching my query. 

Has something changed with this query syntax? Or is there some other way I can get a view into all the low-level children of an top-level issue type?

Thanks for your help!

 

1 answer

1 vote
Trudy Claspill
Community Champion
March 6, 2025

Hello @Cristin Hernandez 

Welcome to the Atlassian community.

In what type of project is the Initiative? In what type of project is the Epic and its child issues? Get the project Type information from the View All Projects page under the Projects menu.

If you execute the pieces of the filter separately do you get results?

issue in linkedIssues(KEY)

 

issuekey in portfolioChildIssuesOf(KEY)
Varsha Joshi
Community Champion
March 6, 2025

That's a good way to troubleshoot. 

Michael Yaroshefsky - Visor for Jira
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 7, 2025

Agreed, this is a smart approach.

Trudy Claspill
Community Champion
April 1, 2025

Hello @Cristin Hernandez 

Are you still experiencing the problem or were you able to resolve the issue?

Cristin Hernandez
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!
April 15, 2025

Hi everyone,

I apologize for the long delay in responding. The query is working now. It's odd, because the exact same syntax that didn't produce any results previously now does. Anyway, I'm glad it is working now.

Thank you again,

Cristin

Suggest an answer

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

Atlassian Community Events