maton jira issue delete
maton jira issue delete <issue-key> [flags]
Delete an issue. Jira rejects the request if the issue has subtasks unless you also pass –delete-subtasks, which removes the subtasks too.
Options
-
--cloud-id <string> - Jira Cloud ID, run 'maton jira cloud list' to discover (required)
-
--connection <string> - Connection ID to route through (Maton-Connection header)
-
--delete-subtasks - Also delete the issue's subtasks
-
--dry-run - Print the request that would be sent without executing it
-q,--jq <expression>- Filter JSON output using a jq expression
-
--json - Output raw JSON
-
--paginate - Follow next_cursor and concatenate all pages (list commands only)
-t,--template <string>- Format JSON output using a Go template; see "maton help formatting"
Options inherited from parent commands
-p,--profile <string>- Profile to use for this invocation (overrides the active profile; also reads MATON_PROFILE)
Examples
$ maton jira issue delete PROJ-123 --cloud-id abc-123
$ maton jira issue delete PROJ-123 --cloud-id abc-123 --delete-subtasks