Using the script runner plugin, I am creating a post-function for a transition that sends an email. My use case is that every time a ticket is reassigned to a different user, an email must be sent to the new assignee and to any watchers of the ticket that are in the assignee's group.
For example, if the assignee belongs to group A, then the notification will go to the assignee and all the watchers of the ticket being assigned who are also members of group A.
Is this possible? And if so, how can this be accomplished?
Through the UI there is not programmatic control of the recipient list. We were just discussing that here: https://jamieechlin.atlassian.net/browse/GRV-320
You have the choice of subclassing it and adding that logic yourself. Or you could create a scripted field that has your logic, and if necessary set the script field to Group A. If it supports groups, which I can't remember if it does. In the mail config you add that field as a recipient.
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
This September 6-7, hundreds of Atlassian App developers will flock to Barcelona Spain to build skills, discover product roadmaps, meet face-to-face with the Atlassian team, and learn how to extend t...
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