I have multiple projects.
In Project A, I have a set of stories and epics.
I have initiatives in projects B, C, and D. Some of the epics are linked to initiatives in B, C, and D.
How can I find the list of stories for which the epic in the epic link does not have a parent in Project B?
I have access to ScriptRunner for Jira Data Center plugin.
I cannot install additional plugins. I cannot create custom fields on many of those projects.
I have tried
issuetype = Story AND project = A AND "Epic Link" not in (issueFunction in portfolioChildrenOf("project != B"))But I got the following message:
No issues have a parent epic with key or name 'issueFunction in portfolioChildrenOf("project != B")'