Skip to content

jira add-watcher

Adds the watcher to an issue.

Description

Adds the watcher to an issue.

Synopsis

jira add-watcher
    --site <site>
    <issue>
    [--user <user>]

Arguments

site - (string)

    
     Example: --site "site-1"
     Default: localhost:8081      Attributes: required

issue - (string)

     The ID of the issue.
     Example: "issue-1"
     Default: _None_      Attributes: required

user - (string)

     The account ID of the user
     Example: --user "user-1"
     Default: _None_      Attributes: optional

     Validation:
         max length: 128

Examples

jira add-watcher "issue-1" --user "user-1"

Access Control

To use this command, you need access to the following:

Field Value
Action "update"
Service Type "jira"
Service Instance
Namespace
Object Type "issue"
Object ID issue

Please see Access Control for details.