Update comment
jira_update_commentUpdate a Jira comment by replacing its entire body. Provide the comment ID and complete new text, as existing content is discarded unless resent.
Instructions
Edit one existing comment. CC-31 REPLACE semantics: body overwrites the WHOLE comment, so anything the old one contained (tables, panels, mentions) is lost unless you resend it — read the comment with jira_get_comments first and pass the full new text, never just the sentence you wanted to add. commentId is the numeric id from that read. body takes plain text (converted to ADF), raw ADF, or markdown with format: "markdown".
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | The COMPLETE new comment: plain text (converted to ADF) or a raw ADF document. It replaces the stored body outright — there is no append. | |
| apply | No | Set true to EXECUTE this write. Omit (or false) to get a plan of the request that would be sent. Executing also requires the server to run with JIRA_WRITE_MODE=apply. | |
| issue | Yes | Issue key (PROJ-123) or numeric issue id. | |
| format | No | How to interpret a string rich-text input: "text" (default — blank lines split paragraphs, single newlines are hard breaks) or "markdown" (the documented subset: headings, lists, code fences, bold/italic/code, links). Refused alongside a raw ADF document. | |
| plan_id | No | The single-use id returned by the preceding plan-mode call. Required together with apply: true; a mismatch means the arguments changed since the plan, and the write is refused rather than executed. | |
| profile | No | Named credential profile for this call. Omit to use the active profile. Rejected when the server locks the profile (JIRA_LOCK_PROFILE). | |
| commentId | Yes | Numeric comment id, as jira_get_comments reports it in data.comments[].id. | |
| visibility | No | Restrict the edited comment to one project role or one group, by name. A restriction the comment already carries is not read back — pass it again to keep it. |