Guide · Jira Cloud · JQL

How to find stale blockers in Jira with JQL

A blocker link says "this issue cannot move until that one is done". When the blocking issue is finished, or nobody works on it any more, the link keeps telling the wrong story: work looks blocked when it is not, or waits on something that will never move.

Case 1: blockers that are already Done

This JQL lists every finished issue that still has a "blocks" link (replace KEY with your project key):

project = KEY AND issueLinkType = blocks AND statusCategory = Done

Open each result and look at the issues it blocks. If an open issue is still marked "is blocked by" a finished one, the link is obsolete. The query can also return a Done issue that only blocks other Done issues: those links are harmless history.

Case 2: blockers nobody has touched

This JQL lists open issues that block something but have not been updated for 30 days:

project = KEY AND issueLinkType = blocks AND statusCategory != Done AND updated <= -30d

Change -30d to the delay that fits your team. Every result is a blocker that may be holding other work without anyone noticing.

A real example

On our 390-issue demo project, the first query returns 7 finished issues: DEMO-41, DEMO-69, DEMO-94, DEMO-114, DEMO-140, DEMO-163 and DEMO-187. Each one still blocks an open issue. For example, DEMO-51 is still "blocked by" DEMO-41, which is Done.

How to clean up

Why this does not scale

Standard JQL cannot filter on the status of a linked issue, so it cannot answer "which open issues are blocked by finished work?" in one query. You get the blockers, then open each one by hand.

Or let a health check do it

Link Healthcheck lists both cases in one scan. For blockers already Done, it removes the obsolete link in one click, after showing you the change. On the demo project above, it found the same 7 links.

Install free from Atlassian MarketplaceFree for teams up to 10 users

Disclosure: we build Link Healthcheck. The JQL method above works without any app.