addOrEditJiraIssueComment
Add a plain-text comment to a Jira Cloud issue, or edit an existing comment by passing its comment ID.
Instructions
Add a comment, or edit an existing one.
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": {
"issueIdOrKey": "<issueIdOrKey>",
"body": "<body>"
},
"name": "addOrEditJiraIssueComment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | Plain text comment body, converted to Atlassian Document Format | |
| commentId | No | Provide to edit an existing comment instead of creating one | |
| issueIdOrKey | Yes | ||
| visibilityType | No | ||
| visibilityValue | No | Group name or role name, required if visibilityType is set |