On this page

Use case

Validation of linked issues checks all the issue links but if you want to check only those issue links added to the transition screen, use the Logical validator with the configuration below.

Configuration

Add the Logical validator to the desired workflow transition.

Expression

Add the following expression:

count(transitionLinkedIssues("")) >= 1 AND count(filterByProject(filterByIssueType(transitionLinkedIssues("duplicates"), "Improvement, Bug"), %{issue.project.key})) = count(transitionLinkedIssues(""))

This expression checks the following:

  • At least one issue needs to be linked during the transition
  • The issues are being linked by the link type "duplicates"
  • All issues linked within the transition must be of type Improvement or Bug and must be in the current project


Screenshots


Related use cases


If you still have questions, feel free to refer to our support team.