Delete an issue
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.
/api/2/issue/{issueIdOrKey}AuthorizationBasic auth · headerrequiredIn order to use basic authorization, provide username:password Base64 encoded in the 'Authorization' header.
AuthorizationBearer token · headerrequiredPersonal Access Token — Administration > Profile > Personal Access Tokens
AuthorizationBasic auth · headerrequiredIn order to use basic authorization, provide username:password Base64 encoded in the 'Authorization' header.
issueIdOrKeystringrequiredIssue id or key
deleteSubtasksstringA 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.
Returned if the issue was removed successfully.
Returned if an error occurs.
Returned if the calling user is not authenticated.
Returned if the calling user does not have permission to delete the issue.
Returned if the issue does not exist.