Is there a way I can automatically (or with one click) add myself to the watchers list for all tickets in a project where I'm the lead developer?
Hi Esther,
There's currently no way to add yourself as a watcher automatically to all these tickets.
What you can do is add yourself in the notification scheme for those projects so you'll be notified on any events you may want to.
Hope this helps,
Marcus
Agree with Marcus. A workaround would be to install the Watcher field plugin and do a bulk edit.
https://marketplace.atlassian.com/plugins/com.burningcode.jira.issue.customfields.impl.jira-watcher-field
Do you have any suggestions that would work for the ondemand version that isn't supported by this plugin?
Our organization has developed a plugin to do exactly this. You can automatically watch issues based on any JQL rules you specify. You can find the plugin here.
This can be achieved by adding custom script postfunction on "Create Issue" workflow transition.
Follow below steps:
1. Add a Post function
2. Select "Script Post-Function [ScriptRunner]"
3. Select "Custom script post-function"
4. Add below code
========================================
import com.atlassian.jira.component.ComponentAccessor;import com.atlassian.jira.issue.MutableIssue
def userName = "username" // name of the userdef userManager = ComponentAccessor.getUserManager()MutableIssue issue = issue as MutableIssuedef user = userManager.getUserByName(userName)
def watcherManager = ComponentAccessor.getWatcherManager()
watcherManager.startWatching(user, issue)
=========================================
5. Don't forget to move this postfunction below "Creates the issue originally"
Prerequisites: ScriptRunner app from Atlassian MarketPlace
In Jira cloud, go to the project settings, choose apps > Project automation, and create a new rule. Trigger: new issue is created. Action add (your user) as a watcher.
Hello!Does it still work in current version of the JIRA Cloud?
It looks like you're new here. Sign in or register to get started.