Block a Jira transition unless linked work items are done
You want “Done” or “Deploy” to be impossible while a work item that blocks it is still open. Jira's built-in rules cannot check linked work items. Rule Kit for Jira Workflows adds a validator that can. It is a form, not code.
The rule in one line
Work items that are blocked by something cannot move to Done until every blocker is Done.
Set it up (about five minutes)
- Install Rule Kit from the Atlassian Marketplace.
- Open the workflow in the workflow editor (company-managed project) and select the transition, for example In Progress → Done.
- Under Rules, add a Validator and choose Linked work items.
- Link type: is blocked by.
- Quantity: All of them. Required status: Done.
- Message: “Close the blocking work items first.”
- Publish the workflow.
Try it: open a work item with an open blocker and press the transition. Jira stops it and shows your message. Move the blocker to Done and the transition goes through. A work item with no blockers passes.
Variations
- Only for some work types. Add a JQL precondition, such as
issuetype = Bug. Other work types pass. - Count only blockers that were fixed. Add the filter
resolution = Fixed: a blocker that is Done as “Won't Do” still stops the transition. - Opposite rule: no progress while a blocker is open. Quantity None of them, required status To Do and In Progress.
- A particular status, not a category. Add a filter such as
status = "QA".
What to know before you rely on it
- Status categories. The validator checks To Do, In Progress and Done, not a named status. For one status, use a filter.
- Saved values only. The rule reads the work item as saved in Jira. Values typed on the transition screen are not visible to it.
- Company-managed projects only. Team-managed projects are not supported.
- Same answer for everyone. The check runs as the app, so it does not depend on which linked work items the person can see. The message never names the blocker.
- If the rule cannot be checked (for example the link type was deleted), the transition stops and the person is told to retry or ask an admin.
- Atlassian lists the Forge workflow modules Rule Kit uses as Preview.
Moving from a Connect workflow app?
Atlassian ends Connect support on 31 January 2027. The rule above handles “linked issues of a type: all, any or none in a status” rules from other apps. SeeMoving from a Connect-only workflow app to Rule Kit.
Price
Free up to 10 users, then USD 0.60 per user per month. Self-serve; no installation service.