Function: deleteWorklog()
ts
function deleteWorklog(
client,
parameters,
options?
): Promise<void>;Defined in: src/server/api/issues.ts:1187
Deletes an existing worklog entry.
Parameters
| Parameter | Type | Description |
|---|---|---|
client | Client | - |
parameters | { adjustEstimate?: string; id: string; increaseBy?: string; issueIdOrKey: string; newEstimate?: string; } | - |
parameters.adjustEstimate? | string | Allows you to provide specific instructions to update the remaining time estimate of the issue. Valid values are: new, leave, manual, auto |
parameters.id? | string | Id of the worklog to be deleted |
parameters.increaseBy? | string | Required when 'manual' is selected for adjustEstimate. e.g. "2d" |
parameters.issueIdOrKey? | string | A string containing the issue id or key the worklog belongs to |
parameters.newEstimate? | string | Required when 'new' is selected for adjustEstimate. e.g. "2d" |
options? | RequestOptions | - |
Returns
Promise<void>