find subchildren

boellner boellner December 30, 2024

Hello,

I have a hierarchy "Change Request", then Epic, then Story.

Now I want to list all Stories that are sorted in this hierarchy and e.g. check if the Change Request has a special attribute set. 

How do I achieve this in Jira? Without any addons.

Thank you a lot

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.
December 30, 2024

Hello @boellner boellner 

Welcome to the Atlassian community.

Without an add-on this will require multiple steps.

Step 1: Create a filter to get Change Requests that match the criteria.

Step 2: Save the list of issue keys returned in that result set.

Step 3: Create another filter that uses the childIssuesOf("{issueKey}") function repeatedly to get the Story issues of each Change Request you got from the first filter.

issuetype=Story and (issuekey in childIssuesOf("CR-1") or issuekey in childIssuesOf("CR-2") or issuekey in childIssuesOf("CR-3"))   
boellner boellner December 31, 2024

ok thank you
so it is not possible to have in this function

childIssuesOf("CR-1")

 more than 1 element

or use anoter query to filter for a list of CRs?

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.
December 31, 2024

As per the documentation, no.

https://confluence.atlassian.com/advancedroadmapsserver/searching-for-issues-using-advanced-roadmaps-details-940678957.html

You would need an add-on to have more robust filtering functionality.

Suggest an answer

Log in or Sign up to answer