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.
Join the largest European gathering of the Atlassian Community and reimagine what’s possible when great teams and transformative technology come together. Plus, grab your Super Fan ticket now and save over €1,000 on your pass before prices rise on 3 June.
Register nowOnline forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.