Example: 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
I have an issue hierachy that at the moment is not mandatory (that means that you can create an issue without being linked to anyone). I would like to enforce this hierarchy.
You have to use validator Validation on linked issues. I will show the configuration to use for an example to enforce to set at least one "has Epic" issue link with an "gh.issue.epic" issue type. In this example, the linked issue can be at any status and with any resolution.
Once configured, transition will look like this:
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