Example: Prevent issue from being closed if it has links of type "is blocked by" to open issues
I am trying to create a condition in my workflow that will not allow the issue to be closed if it has linked issues that block it and don't have the status "Closed". The background is that I am using the plugin Structure to arrange my issues. Using the Sync feature when I structure my project it adds blocked links to the issues. So I want to make sure that a parent issue can't be closed unless the child issue is closed.
You have to check "Issue link types not selected are allowed" and "Issue types not selected are allowed" using the Condition on linked issues condition or Validation on linked issues validator.
Other examples of that function
- Block an epic's transition depending on linked issues status and due date
- Block creation of issue type X if it has not been linked with link type Y to issue type Z on the "Create Issue" screen
- Block or hide a transition for an issue depending on its issue links
- Enforce linked issues in a specific project to be "Closed" before closing issue
- Prevent issue from being "Closed" if blocking issues aren't yet closed
- Prevent issue from being closed if it has links of type "is blocked by" to open issues
- Prevent issue from moving forward if it's dependent on non-accepted tickets
- Prevent transitioning when there is a blocking issue
- Validate only issue links created in transition screen