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,551,667
Community Members
 
Community Events
184
Community Groups

Find nested parent relationships for Advanced Roadmaps

Problem

I am beginning to use JIRA Advanced Roadmaps and we have enough tickets across enough projects it is only feasible to use Search Filters as my issue selector for populating the Advanced Roadmap.

 

We use the following hierarchy:

Initiative

Epic

Story


Unfortunately, JQL does not appear to me to have a built in way to look for "nested children" Stories underneath a given Initiative since the Parent Link field only displays the next level above.

 

Put another way, I have no way to recursively find the children under all the Epics in a given initiative.

I found a similar issue discussed at:

https://community.atlassian.com/t5/Advanced-Roadmaps-discussions/Constraints-and-best-practices-for-Parent-Link-in-Advanced/td-p/1778272

Would be great to know if anyone has a workaround that is free vs paid extension.

 

Thanks!

2 answers

Not wanting to add any paid or third party plugins, this is one of many more complicated searches that I hack my way around using Jira Automations.

Similar example: making date comparisons

Jira Automations allows you to do more hierarchy-based searching, so you could capture an issue and its entire lineage. Ultimately, you then need to tag the issues in some way (I use labels most of the time, but could be another field) and your filter is then based on that attribute that you can search for in JQL.

Key Elements for the Automation:

  • Trigger - Scheduling it to run once per day might be good enough, or you may want to trigger based on another change if you need it nearly immediately refreshed.
  • Conditions - Scheduled automations have a JQL field to define the query, or you can add other conditions, but you want to initially define the automation to only one level.
  • Branch - The purple "Branch rule / related issues" component is how you start going up or down the hierarchy.
  • Then continue to add the conditions and then the label you plan to filter to.

 

I don't have time to test it now, but if you're having trouble defining the Initiatives and getting it to run on the Epic children, you may need to start with the Epics and then check if the parent (Initiative) meets whatever criteria you need. There are still some odd nuances with parentage around Epics vs. other issue types based on Parent Link vs Epic Link.

Unfortunately, as of my knowledge cutoff of September 2021, there is no built-in JQL function in JIRA that allows you to search for "nested children" stories underneath a given initiative. However, there are third-party plugins and scripts available that may help you achieve this functionality. You can also try using JQL subqueries to search for stories under each epic within an initiative. Alternatively, you can consider reorganizing your project structure to make it easier to search for issues using JIRA's built-in functionality.

Suggest an answer

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

Atlassian Community Events