Forums

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

How to trigger an notification when a user is added as a Watcher on a ticket in JIRA?

Eric Caney-Peterson
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 27, 2018

We have one user that would like when they add themselves or someone else adds them as a Watcher on a ticket in JIRA they would like to receive an email notification.

Is it possible to set JIRA to email just one person using notifications? I was attempting to see if it was possible to even do it for all users first and then drill down to a solution that so that only the one user would be notified.

I started by attempting to create a new notification but found there wasn't an even for when a Watcher was added. I then tried to create a custom event but was unable to determine a way to set the event to trigger when a Watcher was added. 

Perhaps I am going down the wrong path with a custom event but I was unable to determine the best way to accomplish this.

1 answer

0 votes
Martin Böhme
Community Champion
October 1, 2018

Hi Eric,

This should be doable with a ScriptRunner Script Listener that gets triggered by the Event "IssueWatcherAddedEvent".

Regards,

Martin

Suggest an answer

Log in or Sign up to answer