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

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

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

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

Eunice, did you ever find a solution?

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Monday in Jira Software

Implementing Jira in Small Business

Introduction This article will give insight on how a small software development department implemented Atlassian products to enhance and streamline the business process. The privately held company h...

300 views 2 8
Read article

Atlassian User Groups

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!

Find my local user group

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

Groups near you