jira.js
    Preparing search index...

    Function deleteIssue

    • 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

      • client: Client
      • parameters: { deleteSubtasks?: "false" | "true" | string & {}; issueIdOrKey: string }
        • OptionaldeleteSubtasks?: "false" | "true" | string & {}

          Whether the issue's subtasks are deleted when the issue is deleted.

        • issueIdOrKey: string

          The ID or key of the issue.

      • Optionaloptions: RequestOptions

      Returns Promise<void>