Hi, I am using Jira Cloud + Plans + Scriptrunner and struggling with a query that returns parents of epics. Here is my example:
Initiative-123
- Epic-234
- Epic-345 (Planned = YES)
Initiative-987
- Epic-456
- Epic-567 (Planned = YES)
I was trying hard to write a query based on the custom field 'Planned' on the epic returns all initiatives.
Here are my tries that do not return anything:
<span>issue</span><span>type</span><span> = </span><span>Initiative</span> <span>AND issueFunction in linkedIssuesOf("Planned = 'YES'", "is Epic of") </span>issueFunction in parentsOf(...)
If you have any ideas, please let me know