is it possible to automatically add specific watchers to a project?

JT Tsai I'm New Here Jan 05, 2018

When an issue is created, I want to be able to configure a specific user to be added to the watcher list automatically so that he/she can always follow-up/know about the changes on the issues for a particular project(s).

2 answers

2 accepted

1 vote

Hello,

You would need an add-on for it (Adaptivist Scriptrunner, Power Scripts etc). What add-on to choose depends on your Jira version (Server or Cloud). You could create your own post-function and put it to the create issue transition. For example, suppose you are on Jira Server/Data Center and you have Power Scripts, the code of your post-function would look like this:

%key%.watchers = getUser("YourUserName");

You can find more info about Power Scripts here:

https://marketplace.atlassian.com/plugins/com.keplerrominfo.jira.plugins.jjupin/server/overview

0 vote
Ignacio Pulgar Community Champion Jan 05, 2018

Alexey's answer is a perfect response to the literal asked question.

However, the most correct approach for receiving notifications about all issues in a specific project wouldn't be adding those users automatically as watchers to every issue.

The recommended solution is achieveable with no addons, by following these general steps:

  1. Create a new Project Role (ie: named "Notified of changes")
  2. Edit the Notification Scheme used by the project you want users to be able to follow by adding the new project role to all events you'd like them to receive notifications from.
  3. Add the desired users to the new role in the project.

Note that those users also need to be able to see the project's issues in order to be notified of changes happening in them.

Hope it helps.

Aline Lin I'm New Here Feb 21, 2018

How can this be done with BitBucket? Currently, I have people on a mailing list to receive an email when new issues are raised. However, it doesn't seem that they are notified when the issues are responded to. Is there a way for them to follow the issues without having to physically selecting follow for every issue?

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

744 views 1 18
Join discussion

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