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,366,439
Community Members
 
Community Events
168
Community Groups

Can an advanced search bring all of the hierarchy from just the roadmap ticket number

I need to run a query that would bring back all tickets that were in the hierarchy structure to a roadmap item from a single search.

I have the following structure, Roadmap > Epic > Story > Task > Subtask

I can obtain all the epics from entering the RM search and also if I put the stories in too this can work but this means constantly monitoring for new epics and stories

So what I need is a query where I simply put the roadmap number in and it fires every ticket under that from epic to subtask.

 

I tried this

issuekey in childIssuesOf("ABC-12345")

However the error states unable to find the JQL function.

 

Thanks

 

2 answers

0 votes

Hello @stephen_hockey 

Welcome to the community.

Currently there is not a native JQL function that will return all parents or all children up/down the extended issue hierarchy available when using Advanced Roadmaps. There is a change request for that feature:

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

 

Also note that childIssuesOf function should be replaced with 

portfolioChildIssuesOf

 

I got that info from this article.

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

portfolioChildIssuesOf works a treat!

0 votes
Mark Segall Community Leader Sep 23, 2022

Hi @stephen_hockey and welcome to the community!

You're close.  That JQL is specific to Data Center/Server version.  You'll want this instead:

issue in portfolioChildIssuesOf("ABC-12345")

Thanks Mark - looks like I'd hit the bar :)  just tried yours and it works perfect - thanks very much!

Like Mark Segall likes this

Suggest an answer

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

Atlassian Community Events