I would like to find all epics that have "Issues in Epic" from a specific Project.
Current JQL:
project = FOO AND issuetype = Epic AND key in (FOO-1, FOO-2, FOO-3)
I can add and issueFunction in linkedIssuesOf("project = BAR and issueFunction in hasLinkType('Epic-Story Link')"), but it gives me epics which have other types of linked issues (eg. clones, related ..)
Also attempted:
project = FOO AND issuetype = Epic AND key in (FOO-1, FOO-2, FOO-3) AND issueFunction in linkedIssuesOf("project = BAR AND 'Epic Link' is not EMPTY")<br>
However, I always end up with issues that have multiple types of `Issue Links` (parent task, related to, tested by), and `Issues in Epic` from project BAZ (not BAR as I want).
Help pls.
Thanks