jira_add_comment
Add a comment to a Jira issue with optional visibility restrictions for groups or roles. Supports Markdown, ADF, or plain text. Returns comment author and timestamp.
Instructions
Adds a comment to an issue. Supports visibility restrictions for groups or roles. Comment format is controlled by the "format" parameter (default: markdown). Returns the created comment with author details and timestamp.
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": {
"issueKey": "<issueKey>",
"body": "<body>"
},
"name": "jira_add_comment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | Comment body text | |
| format | No | Comment format: "markdown" (converts Markdown to ADF), "adf" (use as-is ADF object), "plain" (converts plain text to ADF with basic formatting). Default: "markdown" | markdown |
| issueKey | Yes | Issue key to add comment to | |
| visibility | No | Comment visibility restrictions |