jira.js
    Preparing search index...

    Function deleteIssue

    • Deletes an issue. If the issue has subtasks you must set the parameter deleteSubtasks=true to delete the issue. You cannot delete an issue without its subtasks also being deleted.

      Parameters

      • client: Client
      • parameters: { deleteSubtasks?: string; issueIdOrKey: string }
        • OptionaldeleteSubtasks?: string

          A String of true or false indicating that any subtasks should also be deleted. If the issue has no subtasks this parameter is ignored. If the issue has subtasks and this parameter is missing or false, then the issue will not be deleted and an error will be returned.

        • issueIdOrKey: string

          Issue id or key

      • Optionaloptions: RequestOptions

      Returns Promise<void>