-
Bug
-
Resolution: Unresolved
-
Low
-
7.3.0, 7.3.7, 7.4.4, 7.2.4, 7.10.2, 7.13.1, 7.12.3
-
7.02
-
27
-
Severity 3 - Minor
-
2
-
Issue Summary
As such it requires multiple watches and unwatches to get an issue unwatched; and can be very confusing. B
Steps to Reproduce
- Enable Autowatch reported issues (the default is set to Yes)
- Create an issue, and remove yourself as the watcher.
- Note that the More menu item for watching is currently set to Watch Issue
- The sidebar Watchers field says Start watching this issue
- Transition the issue, using a transition that has a screen and the comment field.
Then, do one of the following:
- Click Stop Watching this Issue
- Click the number of watchers, then trash your own username
Expected Results
- The More menu item for watching is currently set to Stop watching
- The sidebar Watchers field says Stop watching this issue
- The lozenge for the watchers is grey (because you are not watching the issue)
Actual Results
- The More menu item for watching is currently set to Watch issue
- The sidebar Watchers field says Stop watching this issue
- The lozenge is the same colour as if you were watching the issue still
Notes
- It looks like there are two seperate rest endpoints being used:
- Used when removing self from the Watchers field via the lozenge: rest/api/2/issue/REP-2/watchers?username=<username>
- Used when removing self via the Stop Watching this issue link: rest/api/1.0/issues/10101/watchers
Both requests return successfully (i.e, a 204 via the lozenge, and a 200 via the Stop watching this issue via the link). There was also some discussions about permissions being relevant, but it's tough to determine how relevant those permissions are.
If you can reliably reproduce this behaviour where permissions for users are a factor, please reply in the comments section below.
Additionally, in some circumstances, the Watch Issue link is out life line with the rest of the menu, and doesn't behave like a menu item (but it can be clicked regardless).
Workaround One:
- Click Stop Watching this issue on the sidebar (alternatively, you can click More » Watch Issue
- Click More » Watch issue
- Click Stop Watching this issue - the issue should now unwatch correctly.
Workaround Two:
Using bulk tools, watch and then unwatch the issues (two seperate bulk issues). You can use key in watchedIssues() as a starting point to find all issues you're currently watching.
Workaround Three:
Disable Autowatch on own issues. By default, users inherit from the global user settings.
- is duplicated by
-
JRASERVER-67602 Unable to stop watching after being added by auto-add watcher feature
- Closed
- relates to
-
JSDSERVER-14947 Unable to stop watching a case when started watching it through a comment on transition screen.
- Closed