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.
This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.Read more
Atlas Camp is our developer event which will take place in Barcelona, Spain from the 6th -7th of September . This is a great opportunity to meet other developers and get n...
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