Forums

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

Query all tickets of a specific hierarchy tree

Phil
Contributor
May 22, 2024

Is there a way to query for all of the tickets of a specific hierarchy?

Example:

I have a hierarchy like this:
- Level 1
   - Level 2
      - Level 3
         - Level 4
where Level 3 is a parent of Level 4, Level 2 is the parent of Level 3 etc.

I want to return ALL the tickets under Level 1 where Level 1 equals some value.  This will return all Level 2, Level 3 and Level 4 tickets.  Is this possible?

 

1 answer

0 votes
Trudy Claspill
Community Champion
May 22, 2024

Hello @Phil 

As per this document:

https://support.atlassian.com/jira-software-cloud/docs/search-for-advanced-roadmaps-custom-fields-in-jql/#Child-issues

...you should be able to use portfolioChildIssuesOf("issue key") to get all the children down through the layers for a specific issue.

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