You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
There are multiple issues (EPICs, Tasks and Sub-Tasks) created in a JIRA Project. There were watchers added on many on many of them.
I want to remove a few (more than 1) watchers (...it is not me) from many issues. Is there a bulk way of doing this?
I have tried the bulk edit, which allows me to either add myself as a watcher on multiple issue types or remove myself as a watcher from multiple issue types.
I want to be able to do this bulk edit for others.
I don't think you need to use automation to stop watching a group of users, but you do need Bulk Edit privilege.
Here's what I did:
* Go to the Advanced JQL
** Click Issues
** Click the "Go to advanced search"
* Create a JQL that lists all of the users issues (for a given project)
project = "BLD" AND WATCHER = "John Smith"
* Click the ... in the upper right corner
* Select 'Bulk Change NN issue(s)'
BE CAREFUL, IF YOU QUERY IS WRONG, YOU COULD MAKE A MESS FOR OTHERS
At this point you should see "Bulk Operation Step 1 of 4: Choose issues"
* Select the Jira issues you wish to stop watching
* Click Next (at bottom of the list)
AT this point you should see "Bulk Operation Step 2 of 4: Choose bulk action"
* Choose the "Stop Watching Issues" radio button
* Click Next
You won't see a "Step 3 of 4:..."
AT this point you should see "Bulk Operation Step 4 of 4: Confirmation"
* Click the "Confirm" button
At this point you'll see "Bulk Operation Progress" and a dialog that says "Unwatching NN issues."
* Wait for the operation to complete.
* Click Acknowledge
Welcome to the Atlassian Community!
You can bulk remove or Add watchers to multiple issues by using the Jira automation feature. These would be the steps:
This would be the rule background:
Let us know if you have any questions
The manual trigger can be triggered directly from any issues, by navigating to any issue you have and clicking in the Automation (Rule executions) field at the right list and selecting the rule you created:
Let us know if you have any questions.
Thanks @Petter Gonçalves .
@Glenn_Wyatt and myself applied the above, but were successful in getting the rule to apply and work for only 1 issue.
I had a requirement to choose a set of issues (based on some filter criteria) and then remove "a" watcher from all those issues which the filter returned.
Is there a way you would recommend?
Actually, the instructions provided above should edit the watchers for ALL issues returned in the JQL you specified in the rule, not only a single issue. Can you confirm if the JQL you specified contains more than a single issue?
Additionally, you can edit the rule to use the scheduled trigger instead of manually triggered to schedule it to be executed one time, then deactivating the rule.
Let us know if this information helps.
I tried Scheduling.
For every 5 minutes, it would search for a JQL:
project = "TEST" and watcher = 'email@example.com'
If that executes, I updated the condition to "manage watchers"
Once published, I click on "Run Rule". This worked great for me.
It executed and remove 800 issues reflecting the watcher.