On this page

Example: Require at least one "duplicates" issue link when resolution = "Duplicate"

When we resolve an issue setting Resolution as "Duplicate", we would like to enforce the existence of at least one linked issue with issue link type "duplicates".

We use Boolean Validator with math, date-time or text-string terms with the following configuration:

Text to be parsed is: %{00028} != "Duplicate" OR count(linkedIssues("duplicates")) > 0 

Once configured, transition "Resolve Issue" will look like this:

Alternative expression

Since version 2.1.22, logical connective IMPLIES is available. Using it, an equivalent expression can be written like this: 

%{00028} = "Duplicate" IMPLIES count(linkedIssues("duplicates")) > 0

Other examples of that function

Related Usage Examples