I need some JQL that will return issues that have linked issues that are linked by the 'is caused by' OR 'Bug Found' Jira links.
So far I've only been able to get one of the other ("Bug Found" or "is caused by").
The JQL below works, but only for issues linked by "Bug Found":
issueFunction in linkedIssuesOfAll('issue in("ISSUE-01", "ISSUE02")', "Bug Found")
If I try using an OR statement to add the "is caused by" argument, as below:
issueFunction in linkedIssuesOfAll('issue in("ISSUE-01", "ISSUE02")', "Bug Found" OR "is caused by")
I get an error:
Error in the JQL Query: Expecting ')' or ',' but got 'OR'. (line 1, character 85)
I've tried many differing ways of using the OR statement with the "Bug Found" and "is caused by", including enclosing them both in parenthesis, single quotes, double quotes etc, but I can't get it working.
All help appreciated 