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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"issue_key": "<issue_key>",
"body": "<body>"
},
"name": "jira_add_comment"
}
}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 |