Forums

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

How to find all descendants of a ticket with Jira Premium?

Genevieve Bolduc November 18, 2021

We are using Jira Premium to create a level (Initiative) above Epics.  This allows us to have an enterprise backlog jira project containing all initiatives (projects), broken into Epics.  As well we have jira projects for teams to have their own backlog  with stories and tasks pointing to the epic they are contributing to.  This way all teams can prioritise and plan all their work in their team backlog and using the portfolioChildIssuesOf() function we can build a filter for board and advanced roadmap to retrieve all descendant tickets of an initiative ticket.

Unfortunately this function takes only a single issue key as its parameter.  We would like to be able to pass an argument to this function (or similar) to be able to retrieve all descendants of all initiatives of a particular type.

Thanks for any suggestions.

2 answers

0 votes
Rahul_RVS
Atlassian Partner
November 19, 2021

Hi @Genevieve Bolduc 

If you would be interested in a third party add-on, you can try out our app to view the full Jira Issue Type hierarchy of Linked issues, Portfolio/Advanced Roadmaps, Epics, and Subtasks up to 10 levels.

Agile Tools - Epic Tree, Links Tree and Time in Status 

Key features of Links Hierarchy:

  • Hierarchy upto 10 levels deep
  • Progress % on "remaining estimate" or "original estimates"
  • Edit Issue summary, time estimates, story points and assignee on the tree with real time updates in the progress
  • Rolled up percentage completion at all levels
  • Ability to add/remove the columns on the report

 Links Hierarchy - Initiative Hierarchy.png

Genevieve Bolduc November 20, 2021

Hi Rahul, thank you for your reply.  We are definitely not interested in paying for an additional add-on given the high price we just paid for Jira Premium to get the ability to have the additional hierarchy and parent link.

0 votes
Trudy Claspill
Community Champion
November 19, 2021

I think what you're asking for is part of this open change request:

https://jira.atlassian.com/browse/JSWCLOUD-19543

I have not found any method yet for getting the full hierarchy of issues below a list of issues.

With Adaptavist Scriptrunner there are some functions to get child issues where you can supply a filter for the source issues, such as

issuefunction in portfolioChildrenOf(<a filter for the parent issues>)

...but this gives you only the direct children of the parents. It does not walk down all the layers of the hierarchy.

Genevieve Bolduc November 20, 2021

Hi Trudy, we have had luck using portfolioChildrenOf as it returns all descendants of a particular ticket - and does not stop at direct children.  However it has the limitation that it only accepts a single issue key as parameter.  I am surprised that it is necessary to pay for yet another add on (i.e. adaptavist scriptrunner) in order to leverage the hierarchy that Jira Premium offers.

Suggest an answer

Log in or Sign up to answer