Module issue_watchers_api

Source

Enums§

AddWatcherError
struct for typed errors of method add_watcher
GetIssueWatchersError
struct for typed errors of method get_issue_watchers
RemoveWatcherError
struct for typed errors of method remove_watcher

Functions§

add_watcher
Adds a user as a watcher of an issue by passing the account ID of the user. For example, \"5b10ac8d82e05b22cc7d4ef5\". If no user is specified the calling user is added. This operation requires the Allow users to watch issues option to be ON. This option is set in General configuration for Jira. See Configuring Jira application options for details. Permissions required: * Browse projects project permission for the project that the issue is in. * If issue-level security is configured, issue-level security permission to view the issue. * To add users other than themselves to the watchlist, Manage watcher list project permission for the project that the issue is in.
get_issue_watchers
Returns the watchers for an issue. This operation requires the Allow users to watch issues option to be ON. This option is set in General configuration for Jira. See Configuring Jira application options for details. This operation can be accessed anonymously. Permissions required: * Browse projects project permission for the project that the issue is ini * If issue-level security is configured, issue-level security permission to view the issue. * To see details of users on the watchlist other than themselves, View voters and watchers project permission for the project that the issue is in.
remove_watcher
Deletes a user as a watcher of an issue. This operation requires the Allow users to watch issues option to be ON. This option is set in General configuration for Jira. See Configuring Jira application options for details. Permissions required: * Browse projects project permission for the project that the issue is in. * If issue-level security is configured, issue-level security permission to view the issue. * To remove users other than themselves from the watchlist, Manage watcher list project permission for the project that the issue is in.