pub async fn delete_issue(
configuration: &Configuration,
issue_id_or_key: &str,
delete_subtasks: Option<&str>,
) -> Result<(), Error<DeleteIssueError>>
Expand description
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.