Features used to implement the example


This example is considered outdated. Please head over to the one using our Transition issues post function here.


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



Related Usage Examples