I have a Jira Plan in Advanced Roadmaps to visualize all initiatives (IN-XYZ) across multiple projects, along with their child Epics and tasks.
The Plan is currently configured with a Script Runner filter and the Initiatives project as issue sources.
I’ve created Epics in other projects (e.g., IGH) and set their Parent Link to an Initiative in Initiatives project (e.g., IN-229).
These Epics appear correctly on the issue screens and tasks show the Initiative as their parent.
However, the Plan does not display these Epics under the Initiative — this was working earlier and display most epics and weirdly missing some Epics
Steps Taken:
Verified that the Epics in other projects have the correct Parent Link.
Confirmed that child tasks are linked to the Epics.
Ideally All Epics linked via Parent Link to an Initiative should appear in the Plan, along with their child tasks, regardless of which project the Epic belongs to. But that's not the case. Here is my Script runner query-
(project = "Name" OR issueFunction in childrenOf("project = "Name"")) AND resolution not in ("Won't Do", Duplicate, "Won't Fix/Rejected") and issuetype != Sub-Task OR (project = "Name" OR issueFunction in childrenOf("project = "Name"")) AND resolution IS EMPTY and issuetype != Sub-Task ORDER BY Rank ASC
What am I missing?
How can I configure my Plan or Script Runner JQL so that all Epics linked to initiatives appear, without pulling in unrelated issues from the Epic’s project?