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.
Hello! My name is Genevieve Blanch, and I'm the Marketing Manager at RefinedWiki, creators of apps to give teams the tools to customize Atlassian platforms. Currently, 44% of the tech team at Re...
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