jira issue comment delete¶
- Usage:
jira issue comment delete KEY COMMENT_ID [flags]
Delete one comment by ID from an issue. Use it after comment list when a comment should be removed rather than edited.
--dry-run previews the deletion and never contacts Jira. Live deletes require --force in headless, agent, or --no-input mode; an interactive terminal is prompted when --force is omitted.
Safety¶
--dry-run¶
Preview without calling Jira
--force¶
Confirm destructive delete under --no-input / non-TTY
Output fields¶
With --output json, the response envelope's data object carries these fields. Run jira agent schema for the full machine-readable schema.
| Field | Type | Description |
|---|---|---|
comment_id |
string | |
deleted |
boolean | |
dry_run |
boolean | |
issue.id |
string | |
issue.key |
string | |
issue.self |
string |
Examples¶
jira issue comment delete PROJ-123 10042 --dry-run # (1)!
jira issue comment delete PROJ-123 10042 --force # (2)!
- Preview deleting a comment
- Delete a comment without an interactive prompt