It's not the same without you
Join the community to find out what other Atlassian users are discussing, debating and creating.
Hi, all!
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:
issue.parentObject?.subTaskObjects?.every {it.resolution}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It started as any story starts, on a normal, rainy day. Admin meets App, and her name was Klok2, and like any first relationship we were both trying to make it work but neither one knew what...
Connect with like-minded Atlassian users at free events near you!
Find a groupConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.
Start an AUGYou're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.