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

JT Tsai January 5, 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
Answer accepted
Alexey Matveev
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.
January 5, 2018

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 votes
Answer accepted
Ignacio Pulgar
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.
January 5, 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.

alinelin-admin February 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