The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

want to use scriptrunner to send email when a watcher is added

Eunice Mora
May 3, 2016

I need to generate a notification when a watcher is added to an issue.

I have been trying to find a solution using the scriptrunner listener or behavior but no luck. Is it possible since adding a watcher doesn't generate an event?

Can you please help me with the script?

We are running JIRA V6.4.6

Note: I tried to generate a support issue in he Adaptavist helpdesk but I am not getting the email with the ink to reset my password

2 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Edward Greathouse
October 9, 2018

Eunice, did you ever find a solution?

0 votes
JamieA
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
May 3, 2016

Not sure why that that would be useful but could you not have a listener on IssueWatcherAddedEvent, and send mail from that?

Edward Greathouse
October 9, 2018

I have a Listener for IssueWatcherAddedEvent, now how do I send an email?