Skip to content

jira delete-issue

Deletes an issue

Description

Deletes an issue

Synopsis

jira delete-issue
    --site <site>
    --issue <issue>
    [--delete_subtasks]

Arguments

site - (string)

    
     Example: --site "site-1"
     Default: localhost:8081      Attributes: required

issue - (string)

     The ID of the issue.
     Example: --issue "issue-1"
     Default: _None_      Attributes: required

delete_subtasks - (bool)

     Whether the issue's subtasks if present are deleted when the issue is deleted.
     Example: --delete_subtasks
     Default: false      Attributes: optional

Examples

jira delete-issue --issue "issue-1"

Access Control

To use this command, you need access to the following:

Field Value
Action "delete"
Service Type "jira"
Service Instance
Namespace
Object Type "issue"
Object ID issue

Please see Access Control for details.