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?
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.
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.)
Hi all Lets make this Friday fun really fun and post one (or more) of your best jokes! The joke can be about an Atlassian product, or just a really fun joke you want to share! I’m not the best j...
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
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot