java.lang.Object | |
↳ | com.atlassian.jira.issue.watchers.DefaultWatcherManager |
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
String | ASSOCIATION_TYPE |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Retrieve collection of users that are currently watching this issue (including the current user)
| |||||||||||
Retrieve the list of usernames of users watching the given issue
| |||||||||||
Retrieve the list of usernames of users watching the given issue
| |||||||||||
Returns the number of users watching this issue.
| |||||||||||
Retrieve list of users that are currently watching this issue (including the current user).
| |||||||||||
Retrieve list of users that are currently watching this issue (including the current user).
| |||||||||||
Determine whether the current user is already watching the issue or not
| |||||||||||
Determine whether the current user is already watching the issue or not
| |||||||||||
Determine whether the current user is already watching the issue or not
| |||||||||||
Remove all watches for a given user
| |||||||||||
Remove all watches for a given user
| |||||||||||
Enable watching of a particular issue for the user supplied.
| |||||||||||
Enable watching of a list of issues for the user supplied.
| |||||||||||
Enable watching of a particular issue for the user supplied.
| |||||||||||
Enable watching of a particular issue for the user supplied.
| |||||||||||
Disable watching of a list of issues for the user supplied.
| |||||||||||
Disable watching of a particular issue for the user supplied.
| |||||||||||
Disable watching of a particular issue for the user supplied.
| |||||||||||
Disable watching of a particular issue for the user supplied.
| |||||||||||
Disable watching of a particular issue for the user supplied.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
com.atlassian.jira.issue.watchers.WatcherManager
|
Retrieve collection of users that are currently watching this issue (including the current user)
issue | issue being watched |
---|---|
userLocale | the locale of the user making this call, this is used for sorting the list values. |
User
sRetrieve the list of usernames of users watching the given issue
issue | issue being watched |
---|
DataAccessException |
---|
Retrieve the list of usernames of users watching the given issue
issue | issue being watched |
---|
DataAccessException |
---|
Returns the number of users watching this issue.
issue | issue being watched |
---|
Retrieve list of users that are currently watching this issue (including the current user).
issue | issue being watched |
---|
Retrieve list of users that are currently watching this issue (including the current user).
issue | issue being watched |
---|---|
userLocale | the locale of the user making this call, this is used for sorting the list values. |
Determine whether the current user is already watching the issue or not
user | user |
---|---|
issue | issue being watched |
Determine whether the current user is already watching the issue or not
user | user |
---|---|
issue | issue being watched |
Determine whether the current user is already watching the issue or not
user | user |
---|---|
issue | issue being watched |
Remove all watches for a given user
user | The user that has most probably been deleted |
---|
Remove all watches for a given user
user | The user that has most probably been deleted |
---|
Enable watching of a particular issue for the user supplied.
This means the user will receive updates for any modifications to the issue. Note, that this will not check if a user has the BROWSE_ISSUE permission. Notifications will however only be sent to users who have the appropriate permissions. Adding a permission check here would complicate updating permission schemes a lot, as it would have to update issue's watchers lists.user | user that starts watching the given issue |
---|---|
issueGV | issue being watched |
Enable watching of a list of issues for the user supplied.
This means the user will receive updates for any modifications to the issues. Note, that this will not check if a user has the BROWSE_ISSUE permission. Notifications will however only be sent to users who have the appropriate permissions. Adding a permission check here would complicate updating permission schemes a lot, as it would have to update issues' watchers lists. This bulk method is more performant than calling the single version multiple times, as it indexes the issues in bulk rather than one at a time.user | user that starts watching the given issues |
---|---|
issues | the list of issues to watch |
Enable watching of a particular issue for the user supplied.
This means the user will receive updates for any modifications to the issue. Note, that this will not check if a user has the BROWSE_ISSUE permission. Notifications will however only be sent to users who have the appropriate permissions. Adding a permission check here would complicate updating permission schemes a lot, as it would have to update issue's watchers lists.user | user that starts watching the given issue |
---|---|
issue | issue being watched |
Enable watching of a particular issue for the user supplied.
This means the user will receive updates for any modifications to the issue. Note, that this will not check if a user has the BROWSE_ISSUE permission. Notifications will however only be sent to users who have the appropriate permissions. Adding a permission check here would complicate updating permission schemes a lot, as it would have to update issue's watchers lists.user | user that starts watching the given issue |
---|---|
issue | issue being watched |
Disable watching of a list of issues for the user supplied.
This bulk method is more performant than calling the single version multiple times, as it indexes the issues in bulk rather than one at a time.user | user that stops watching the given issues |
---|---|
issues | list of issues being watched |
Disable watching of a particular issue for the user supplied.
user | user that stops watching the given issue |
---|---|
issueGV | issue being watched |
Disable watching of a particular issue for the user supplied.
user | user that stops watching the given issue |
---|---|
issue | issue being watched |
Disable watching of a particular issue for the user supplied.
user | user that stops watching the given issue |
---|---|
issue | issue being watched |
Disable watching of a particular issue for the user supplied.
Note: Use this method in case when user no longer exists in JIRA, e.g. JIRA uses external user management and user was removed externally.username | username of the user that stops watching the given issue |
---|---|
issueGV | issue being watched |