Skip to content

Function: deleteIssue() ​

ts
function deleteIssue(
   client, 
   parameters, 
   options?
): Promise<void>;

Defined in: src/cloud/api/issues.ts:472

Deletes an issue.

An issue cannot be deleted if it has one or more subtasks. To delete an issue with subtasks, set deleteSubtasks. This causes the issue's subtasks to be deleted with the issue.

This operation can be accessed anonymously.

Permissions required:

Parameters ​

ParameterTypeDescription
clientClient-
parameters{ deleteSubtasks?: "false" | "true" | string & object; issueIdOrKey: string; }-
parameters.deleteSubtasks?"false" | "true" | string & objectWhether the issue's subtasks are deleted when the issue is deleted.
parameters.issueIdOrKey?stringThe ID or key of the issue.
options?RequestOptions-

Returns ​

Promise<void>