Versions Compared

Key

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


Section


Column
width30%600px


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

Table of Contents
maxLevel1



Column




Features used to implement the example



Example: Moving story to "Ready for QA" once all its sub-tasks are in "Ready for QA" status

When all sub-tasks of a story are moved to "Ready for QA", the story should move from "In Progress" to "Ready for QA". 

Insert Copy a parsed text to a field post-function into transition from "In Progress" to "Ready for QA" in sub-task's workflow:


Boolean expression at conditional execution is:

 count(siblingSubtasks()) = count(filterByStatus(siblingSubtasks(), "Ready for QA"))

That boolean expression checks that all the sub-tasks are already at "Ready for QA" status, but maybe you also want to allow some sub-tasks to be also in more advanced statuses, like "QA Accepted" and "Done". In this case you should use the following boolean expression:

count(siblingSubtasks()) = count(filterByStatus(siblingSubtasks(), "Ready for QA, QA Accepted, Done"))



Other examples of that function

Incoming Links
pageCopy parsed text to a field
labelsexample



Related Usage Examples

Content by Label
showSpacefalse
cqllabel = "example" and label in ("sub-task","transition")