Skip to content
atlassian-dc-mcp
Esc
↑↓navigate↵open⌘Jpreview

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.

DELETE/api/2/issue/{issueIdOrKey}
Authorization
AuthorizationBasic auth · headerrequired

In order to use basic authorization, provide username:password Base64 encoded in the 'Authorization' header.

or
AuthorizationBearer token · headerrequired

Personal Access Token — Administration > Profile > Personal Access Tokens

AuthorizationBasic auth · headerrequired

In order to use basic authorization, provide username:password Base64 encoded in the 'Authorization' header.

Path parameters
issueIdOrKeystringrequired

Issue id or key

Query parameters
deleteSubtasksstring

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.

Responses
204

Returned if the issue was removed successfully.

400

Returned if an error occurs.

401

Returned if the calling user is not authenticated.

403

Returned if the calling user does not have permission to delete the issue.

404

Returned if the issue does not exist.

Try it
Server
Authorization
Parameters
Request
curl -X DELETE 'http://jira.example.com/rest/api/2/issue/string' \
  -H 'Authorization: Basic YOUR_CREDENTIALS'
Response
Returned if the issue was removed successfully.

Was this page helpful?