Safely Delete an Issue
A 2-step recipe with Jira. We can help you get access.
Recipe · 2 steps
Safely Delete an Issue
with Jira
Works with AI assistants
Inspect a Jira issue and its sub-tasks, then delete it deliberately.
- Read the issue and its sub-tasks before destroying it, so the caller can record what was deleted and know whether the sub-task flag is required.
- Delete the inspected issue by the key returned from the read, with an explicit decision about its sub-tasks. Returns 204 with no body on success.
What you'll need to have ready
- issueIdOrKey: The id or key of the issue to delete (e.g. PROJ-123).
- deleteSubtasks: Whether the issue's sub-tasks are deleted along with it. Sent as the string "true" or "false" as the API defines it. A delete against an issue that has sub-task
For your developer
Arazzo workflow jira:safe-issue-delete, 2 operations: getRestApi3IssueByIssueIdOrKey → deleteRestApi3IssueByIssueIdOrKey. Specs on APIs.io.