jira.js
    Preparing search index...

    Function getIssueWatchers

    • Returns the list of watchers for the issue with the given key.

      Parameters

      • client: Client
      • parameters: { issueIdOrKey: string }
        • issueIdOrKey: string

          Issue id or key

      • Optionaloptions: RequestOptions

      Returns Promise<
          {
              isWatching?: boolean;
              self?: string;
              watchCount?: number;
              watchers?: {
                  active?: boolean;
                  avatarUrls?: Record<string, string>;
                  displayName?: string;
                  emailAddress?: string;
                  key?: string;
                  name?: string;
                  self?: string;
                  timeZone?: string;
                  [key: string]: unknown;
              }[];
              [key: string]: unknown;
          },
      >