Query all tickets of a specific hierarchy tree

Phillip_Dang 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 Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 22, 2024

Hello @Phillip_Dang 

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