I want to use a built-in script "Send a custom email" from Script Runner plugin (groovy), but I don't know how to write next condition, using groovy language: all subtasks are resolved.
My global task: send notification to assignee of task, when all subtasks are resolved.
Hi Kirilova. As Dieter says, the condition is optional, and if you use the "auto-transition when resolved" post-function maybe you don't need this one, it can be handled as a regular notification in the notif scheme.
You might want to use the custom email notif if you want greater control over the email though. Assuming you are using this as a listener or workflow function on the sub-task issue type, this condition should do it:
Hello Atlassian Community! Each month, we run a series of Spotlights to highlight Marketplace vendors and apps that our team thinks this Community would find valuable. In last month's Spotlig...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs