🚀 JWT 3.0 is out 🚀 

The app was completely overhauled, and so was the documentation: Jira Workflow Toolbox (Server/Data Center) Home

The page you are viewing is still valid for all app versions prior to 3.0.

On this page

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