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

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
Accepted answer

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
Accepted answer

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.

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
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,355 views 14 19
Read article

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