When a user asked to be removed from the watcher list of all work items, what is the best way to do it automatically?
Hello @Tim Ma
The best way to accomplish that is for them to execute a Search work items action to find all the items for which they are a Watcher, and then use the Bulk Change feature to Stop Watching the issues. They must still have access to the items at this time, and they must also have the global permission for Bulk Change.
The filter would be
project=X and watcher = currentUser()
Then they select Bulk change work items
Then check the box to select all work items and click Next at the bottom of the screen.
Then choose Stop Watching Work Items and click Next.
Then click Confirm.
The above operation can only be done by the individual for themselves. Bulk Change does not support making changes in bulk to Watchers to add or remove other users.
If you choose the Edit operation instead you will find that the Watchers field is not available.
There is a Manage Watchers action within Automation Rules. So if you need to do this on behalf of somebody else, and you have access to manage watchers for the specified project(s), and you have access to create an Automation Rule for the specified project(s), then you could do it that way also.
Thanks for the answers. "watcher = currentUser()" is put in the JQL field of the filter, right? It seemed to work.
Also, does regular user normally have bulk edit ability?
It looks like you're new here. Sign in or register to get started.