Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from this space and version 2.6.2


Section


Column
width600px


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

Table of Contents
maxLevel1



Column




Example: Validate only issue links created in transition screen

In my instance, I have 2 projects that share the same workflow, the same screen schemes, field schemes, permission schemes... almost everything is exactly the same. I have a transition (Duplicate) which enforces the creation of a link of type "duplicates" from the transitioning issue to another one (chosen from the dedicated combobox). I created the transition with a Validator on linked issues.

Validator on linked issues checks all the issue links of the issue. If you want to check only those issue links added in transition screen, use Boolean validator with math, date-time or text-string terms with the following configuration:

Image RemovedImage Added


Boolean expression used is: count(transitionLinkedIssues("")) >= 1 AND count(filterByProject(filterByIssueType(transitionLinkedIssues("duplicates"), "Improvement, Bug, Change Request, Feature, Story, Epic"), %{00018})) = count(transitionLinkedIssues(""))


Note that:

  • %{00018} is field code for "Project key"


By using this expression there has to be at least one issue linked during the transition and only the link type "duplicates" is allowed.




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"