Delete an issue
Deletes a single issue. Identify the issue with IssueIdOrKey in the WITH clause. Set ContinueOn404Error=0 to treat a missing issue as an error, or 1 to ignore it.
DELETE FROM Issues
WITH (IssueIdOrKey='10020', OUTPUT=1, ContinueOn404Error=0)