Function: addWatcher()
ts
function addWatcher(
client,
parameters,
options?
): Promise<void>;Defined in: src/server/api/issues.ts:1066
Adds a user to an issue's watcher list.
Parameters
| Parameter | Type | Description |
|---|---|---|
client | Client | - |
parameters | { body?: string; issueIdOrKey: string; userName?: string; } | - |
parameters.body? | string | - |
parameters.issueIdOrKey? | string | Issue id or key |
parameters.userName? | string | The name of the user to add to the watcher list. If no name is specified, the current user is added. |
options? | RequestOptions | - |
Returns
Promise<void>