I am trying to remove a Watcher from all of the issues in a project. Using the CLI command below, the users was removed from all issues with an issuetype of BUG, but was not removed from issues with an issuetype of STORY
./jira.sh --action runFromIssueList --search "key in watchedIssues() and project='User File Management'" --common "--action removeWatchers --issue @issue@ --userId user.name"
I also tried using the --type parameter with no luck. How do I remove Watchers from stories?
We are in JIRA 5.2.8.