Add comment
jira_add_commentAdd a comment to a Jira issue using plain text, markdown, or ADF, and optionally limit visibility to a project role or group.
Instructions
Add a comment to one issue. body takes plain text (converted to ADF) or a raw ADF document; format: "markdown" parses a string body as the markdown subset. visibility restricts the comment to a single project role or group by name; omit it and everyone who can see the issue can read the comment. Mentions need the accountId form — jira_search_users resolves a name.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | Plain text (converted to ADF) or a raw ADF document. | |
| 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). | |
| visibility | No | Restrict the comment to one project role or one group, by name. |