Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How can I find all issues that block an epic?

Jacoby Hickerson February 18, 2022

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.

1 answer

1 vote
Adriele Radmann
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 21, 2022

Hi @Jacoby Hickerson 

You could find issues that block your epic ticket use the native JQL, as described here:

issue in linkedIssues(ABC-123,"is blocked by") OR issue 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") OR issue in linkedIssuesOfQuery(" 'Epic Link' = GOPS-710 ", "blocks")

Check out the documentation for more examples.

I hope this helps!

Adriele Radmann - JQL Search Extensions

Jacoby Hickerson February 21, 2022

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!

Like Adriele Radmann likes this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events