Adding email addresses as notifications for issue updates

Steve Hill September 24, 2012

Hi,

I have setup a mailbox on our server so that people can create issues by emailing the support mailbox. The people do not need access to JIRA however I would like them to be notified when the issue is updated. Is there a watcher list that they can be automatically added to when Jira picks up the email and creates an issue from it?

Thanks!

Steve.

2 answers

1 accepted

0 votes
Answer accepted
Andy Brook [Plugin People]
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 Leaders.
September 25, 2012

Another option is JEMH, as a mail handler it could create a JIRA account without the right to use if they didn't exist already, and automatically add that user as a watcher to the created issue (assuming you've allowed that group access to the target project.

If you didn't want to create actual JIRA accounts, you could also use JEMH to not create an issue, but store the sender email in a custom field, and use the integrated IssueEvent listener to generate notifications. The latter route is not quite so perfect as the 'creator of the issue would be a dummy acct not the actual reporter.

Steve Hill October 10, 2012

Thanks for the responses. I also spoke to support who suggested JEMH as an option. At this time we do not want to generate accounts (licensing constraints). We will investigate JEMH.

Thanks!
Steve.

0 votes
Thomas Heidenreich
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 Leaders.
September 24, 2012

You could use the scriptrunner in the post action of the create issue transition

If you have the username of the user to add this would be like:

import com.atlassian.jira.ComponentManager

def componentManager = ComponentManager.getInstance()
def watcherManager = componentManager.getWatcherManager()
def issueManager = componentManager.getIssueManager()

def user = componentManager.userUtil.getUser("USERNAME")

watcherManager.startWatching(user, issue)

If not you have to find who you would like to add (the reporter of the issue e.g.)

Suggest an answer

Log in or Sign up to answer