This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Simple JS snippet to bulk unwatch (stop watching, un-watch) issues in JIRA. | |
// Written and tested for JIRA 5.2, but should work for all 5+ versions. | |
// WHAT IT DOES: | |
// 1. Gets list of issues you watch using JQL search via REST API. You can modify JQL per your needs. | |
// 2. For each issue found, triggers REST API call to unwatch this issue for current user. | |
// HOWTO: | |
// 1. Go to JIRA in your browser, log in. | |
// 2. Open your browser JavaScript console. |