Purpose
Condition on linked issues and Validation on linked issues are features aimed to set restrictions on allowed issue links, or to require existence of certain issue links.
Example: Validating only issue links created in transition screen
Validation on linked issues checks up both, previously created issue links, and new issue links created in transition screen. When we want to check issue links created exclusively in transition screen, we should use Boolean validator with math, date-time or text-string terms with a boolean expression with function transitionLinkedIssues(). Example: Validating only issue links created In transition screen
Configuration Parameters
Almost any restriction or requirement you can imagine based on issue links and on linked issues is possible using "Condition on linked issues" and "Validation on linked issues". You can use the following parameters to set your restriction or requirement:
- Issue link type
- Linked issue's issue type
- Linked issue's status
- Linked issue's resolution
- Linked issue's system field or custom field values, making comparisons with current issue's field values, checking for project role or group membership of selected users (assignee, reporter, user pickers, ...), making complex date-time comparisons with date pickers, making also comparisons with field's past values, and much more.
Available Features
- Condition on linked issues: hides transitions depending on existent issue links with current issue.
- Validation on linked issues: blocks transitions showing a custom warning message to the user), depending on previously existent issue links, and issue links created in transition screen.
Usage Examples
- 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