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.8.1


Section


Column
width600px


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

Table of Contents
maxLevel1



Column




Example: Block transition until all sub-tasks are in a specific status category

In this example, moving the current issue to status "Done" should only be possible when all sub-tasks are in status category "Done" - otherwise the transition button should be hidden.

For this, a Boolean condition and validator with math. date-time or text-string terms is needed for on the transition to "Done" on the current issue (the parent).


The configuration will look like this:


Boolean expression to be evaluated is: count(filterByPredicate(subtasks(), ^%{00144} != "Done")) = 0  

Note that:

  • %{00144} is field code for field "Issue status category"


After adding the condition, . the issue cannot be transitioned as long as there are sub-tasks that are not yet in status category "Done":


As soon as all sub-tasks are in status category "Done", the parent issue can be transitioned as well:



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 in ("transition","condition")