Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 21:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.
×Guys,
Any work around to un-watch or watch multiple issues ?
We can't edit watchers list via bulk edit.
Fyi, I use jira 4.4.1 and 4.4.5.
Thanks, Vishnu.
This feature has now been added to the Bulk Issue capability in JIRA (>= 6.0).
See the Watch / Stop Watching section of this article: https://confluence.atlassian.com/display/JIRA/Modifying+Multiple+(Bulk)+Issues
You can use the Jira CLI.
The latest free version 2.6.0:
https://bobswift.atlassian.net/wiki/download/attachments/16285777/jira-cli-2.6.0-distribution.zip?api=v2
Use these actions:
Say <my-user> wants to unwatch all except project <interesting>. Adjust the "jira" batch file, then run this:
jira --action runFromIssueList --search "key in watchedIssues() and project!=<interesting>" --common "--action removeWatchers --issue @issue@ --userId <my-user>"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks! That CLI works great. Just as advertised!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
And it *still* works well! :-) I've got 4058 issues in my watchedIssues() list, though, so I need the --limit option as well. Here's an example for people as unfamiliar with the CLI tools as I was a few weeks ago:
./atlassian-cli-3.8.0/atlassian.sh jira --action runFromIssueList --search 'key in watchedIssues() and category not in ("DevOps Projects", "IT Projects")' --limit 1000 --common "--action removeWatchers --issue @issue@ --userId mdiehn"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This is enabled in JIRA 6.0 and later. See Michael Villis's answer, below.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Here's a quick JavaScript for bulk stop watch (will not require any tools other then your browser):
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Here's a quick Python script that will work as long as you have add/remove watcher rights on the project(s) you are trying to affect (or are just working on yourself).
It requires the Requests library (http://docs.python-requests.org/en/latest/) but since it runs through the REST API requires much lower access than CLI.
import json import requests WebSession = requests.Session() WebSession.auth = ('username','password') #JIRA Credentials go here, Optionally use Base64 Encode/Decode WebParams = {'jql':'watcher = currentUser()', 'fields':'key', 'maxResults':'9999'} #You can use basically any JIRA search query here in the JQL parameter WatchList = WebSession.get('https://JIRA Root URL Here/rest/api/latest/search', params=WebParams) #Fill in your JIRA Root WebParams = {'username': 'User'} #Insert User Name of watcher to delete here, probably yours for k in WatchList.json()['issues']: print 'Removing Watcher ' + WebParams['username'] + ' from issue ' + k['key'] WebSession.delete('https://JIRA Root URL Here/rest/api/latest/issue/'+k['key']+'/watchers', params=WebParams) #Fill in your JIRA Root
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This is enabled in JIRA 6.0 and later. See Michael Villis's answer, below.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
(Greasemonkey is a FF extension; Chrome runs user scripts natively).
Unfortunately none of them works for me (see Reviews tab there). Please try them and write if they work for you
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Through gadget we can add or remove watchers,
just you need to develop gadget to add or remove watchers to filter.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
No, but there is an issue for you to vote on: https://jira.atlassian.com/browse/JRA-2429
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks guys. I added my vote. But it's ideal for last 9 years :(
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Nope that is not possible at the moment. I have done this via database in the past!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.