I need to run a query that finds all issues that are either blocking a specific epic or are blocked by a specific epic.
I've searched for a JQL that can provide all issues that are blocking a single epic but I cannot find exactly what I'm looking for. Most posts show all issues that are blocked in a project, or all issues blocking multiple epics etc.
Here is what I have tried, but it only shows the blockers for the GOPS-710 epic:
"Epic Link" = GOPS-710 AND issueFunction in hasLinkType("Blocks") and resolution is empty
However this just finds all issues that have blockers in that epic only. I want to see all other epics or issues that don't have epics which are blocking or are blocked by GOPS-710.
You could find issues that block your epic ticket use the native JQL, as described here:
issue in linkedIssues(ABC-123,"is blocked by")
ORissue in linkedIssues(ABC-123,"blocks")
If you wish to go deeper and find tickets that are both Blocked and Blocked by any of the issues in the epic, you can use our professional indexing service JQL Search Extensions
After you install the app, you can simply search:
issue in linkedIssuesOfQuery("'Epic Link' = GOPS-710", "is blocked by")
ORissue in linkedIssuesOfQuery(" 'Epic Link' = GOPS-710 ", "blocks")
Check out the documentation for more examples.
I hope this helps!
Adriele Radmann - JQL Search Extensions
Oh that's awesome, that worked for me. It looks like I was making it a bit too complicated. I was unaware of the linkedIssues function.
Thanks @Adriele Radmann!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.