I would like to add a condition to a transition in my workflow. My issue should only transition if all subtasks which include "Dept Approval" in the summary are in either the 'Done' or 'Canceled' status.
I assume this will need to be done via JMWE, but I am unfamiliar with the syntax and would need help writing this condition.
you can add a Build-your-own Validator to the transition with a Jira expression like this:
issue.subtasks.every(subtask => !subtask.summary.includes("Dept Approval") || subtask.status.name == "Done" || subtask.status.name == "Canceled")
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.