Hello,
We setup hierarchy between projects in order to follow:
- In the high level project (like a parent project) theme / initiative
- In the second level product projects (like a child project) with Epic / Story
In the high level project we add Theme and initiative at the macro level and in the childs projects we decline Epics / Story, etc ... linked to Initiative from parent project
On Epics, we use parent link to declare his parent from parent project
We use advanced roadmap to follow all tickets from "parents" & "child" project but currently I see in advanced all issues from both projects even if issues from child project are not linked to Initiative from parent
I need to have a JQL to find all Epics linked to Initiative from parent project like this:
"Parent Link" in ("project=DCOM")
The project DCOM is the parent project
I find the JQL on this link but it doesn't work (https://valiantys.com/fr/blog/atlassian-administration-fr/jql-guide-recherche-jira/ )
If try with "Parent Link" in (DCOM-35), I have all child issues
Is there a query to list all Epics related to an initiative from another project?
Thank you! :)
I use this JQL,
issuefunction in portfolioParentsOf("key = DCOM-####")
This returns the ancestry of DCOM-####. From there you could add on a pre-cursor function to instead return the descendants of the resulting ancestry like,
issuefunction in portfolioChildrenOf("issuefunction in portfolioParentsOf('key = DCOM-####')"
You could also populate the inner parenthetical with a more complex JQL like,
issuefunction in portfolioParentsOf("Project = DCOM and type = Epic")
but might overload your results.
All that said, I think the issuefunction call is part of the script runner plugin so without that I'm not sure how to do it.
Hi Aaron,
You're right issuefunction is provided by scriptrunner unfortunately, I don't have this apps on my instance :(
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Aaron Gage Thank you for sharing this tip! I have a similar use case to Cedric and fortunately have Scriptrunner for Jira Cloud installed.
I need to show all the parents of Epics in Project A, even though those parents are in Project B.
By following your suggestion and using Scriptrunner Enhanced Search I was able to achieve the results I needed:
issueFunction in parentsOf("project = A AND issuetype = Epic", "all") AND project = B
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.