Skip to content

Function: getIssueWatchers() ​

ts
function getIssueWatchers(
   client, 
   parameters, 
   options?
): Promise<{
[key: string]: unknown;
  isWatching?: boolean;
  self?: string;
  watchCount?: number;
  watchers?: object[];
}>;

Defined in: src/server/api/issues.ts:1050

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

Parameters ​

ParameterTypeDescription
clientClient-
parameters{ issueIdOrKey: string; }-
parameters.issueIdOrKeystringIssue id or key
options?RequestOptions-

Returns ​

Promise<{ [key: string]: unknown; isWatching?: boolean; self?: string; watchCount?: number; watchers?: object[]; }>