DELETE /rest/api/2/issue/{issueIdOrKey}
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:
- Browse projects and Delete issues project permission for the project containing the issue.
- If issue-level security is configured, issue-level security permission to view the issue.
Servers
- https://your-domain.atlassian.net
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
issueIdOrKey |
String | Yes |
The ID or key of the issue. |
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
deleteSubtasks |
String | No |
Whether the issue's subtasks are deleted when the issue is deleted. Valid values:
Default value: "false" |
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.