Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Section


Column
width600px


Panel
borderColor#333f48
bgColor#FFFFFF
titleColor#eeeeee
borderWidth1
titleBGColor#333f48
borderStylesolid
titleOn this page

Table of Contents
maxLevel1



Column




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

Incoming Links
pageBoolean condition and validator with math. date-time or text-string terms
labelsexample



Related Usage Examples

Content by Label
showSpacefalse
cqllabel = "example" and label = "issue-links"