Skip to content

Instantly share code, notes, and snippets.

View qvaqvaboo's full-sized avatar

Vadim Efimov qvaqvaboo

  • Saint-Petersburg
View GitHub Profile
@qvaqvaboo
qvaqvaboo / bulk_unwatch.js
Last active November 23, 2022 17:50
JIRA bulk unwatch with your browser only (JS)
// 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.