Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,463,830
Community Members
 
Community Events
176
Community Groups

ScriptRunner method to get hierarchies through a "Parent Link"

Edited

With the removal of portfolioChildrenOf(Subquery) and childrenOfIssuesInQueryRecursive(), is there any other method to be able to identify all of the cases/stories that ultimately roll up to certain initiatives of a given project via a Parent Link? 

My hierarchy looks like this: 

Initiative -- (Parent Link) -->  Epics -- (Epic Link) --> Stories --(Sub-tasks)--> Stories

I would like a filter that looks at all the Initiatives and selects those that fulfill certain conditions, then returns all of the Epics and Stories that roll up to them. 

As a clarification, I cannot use the linkedIssuesOfRecursive() function because it only looks  at Linked Issues, not the specific Parent Link field. 

 

Thank you!

1 answer

0 votes

Hi @Richelle Nixon,

I think you just have use linkedIssuesOfRecursive JQL function, setting your conditions in subquery of this function.
This is the reference page for this JQL.

The linkedIssuesOfRecursive function does not meet my needs. As mentioned, it only looks at the jira cases listed under the Linked Issues. "Parent Issue" is a different field. There used to be functions like portfolioChildrenOf to trace the hierarchy through the "Parent Issue" field, but they have been discontinued.

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events