Add Comment
jira_add_commentAdd a comment to any Jira issue and specify visibility for groups or internal-only on JSM projects.
Instructions
Add a comment to a Jira issue.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | Comment text in Markdown format | |
| public | No | (Optional) For JSM/Service Desk issues only. Set to true for customer-visible comment, false for internal agent-only comment. Posted via the ServiceDesk API as a raw string; Jira Cloud renders it server-side and stores ADF (markdown observed to render on Cloud, without the client-side markdown-to-ADF guarantees of the regular comment path). Cannot be combined with visibility. If the issue's project is listed in JIRA_INTERNAL_ONLY_PROJECTS, only public=false is accepted — public=true or omitting this field is rejected. | |
| issue_key | Yes | Jira issue key (e.g., 'PROJ-123', 'ACV2-642') | |
| visibility | No | (Optional) Comment visibility as JSON string (e.g. '{"type":"group","value":"jira-users"}') |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |