jira.js
    Preparing search index...

    Function addWatcher

    • Adds a user to an issue's watcher list.

      Parameters

      • client: Client
      • parameters: { body?: string; issueIdOrKey: string; userName?: string }
        • Optionalbody?: string
        • issueIdOrKey: string

          Issue id or key

        • OptionaluserName?: string

          The name of the user to add to the watcher list. If no name is specified, the current user is added.

      • Optionaloptions: RequestOptions

      Returns Promise<void>