Jira add comment

jira__add_comment

Access

Requires a project integration connection for jira.

Call type: Can change resources.

Arguments

FieldTypeRequiredDescription and constraints
cloudIdstringYesAtlassian cloud ID from OAuth accessible resources
issueIdOrKeystringYesJira issue ID or key
bodystring or objectYesJira rich text content. Pass plain text or a full Atlassian Document Format document.

Example request

Send this JSON-RPC request through an initialized MCP client. Replace sample identifiers and values before calling the tool. See MCP client setup.

json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "jira__add_comment",
    "arguments": {
      "cloudId": "example",
      "issueIdOrKey": "example",
      "body": "example"
    }
  }
}

Result

No output schema is published for this tool. The input contract does not define its return fields. Inspect the MCP response content and isError; do not assume a fixed object shape. See the jira integration reference for provider setup and tool context.

Full schemas

json
{
  "type": "object",
  "properties": {
    "cloudId": {
      "type": "string",
      "description": "Atlassian cloud ID from OAuth accessible resources"
    },
    "issueIdOrKey": {
      "type": "string",
      "description": "Jira issue ID or key"
    },
    "body": {
      "anyOf": [
        {
          "type": "string",
          "pattern": "\\S",
          "description": "Nonblank plain text. The API converts this to Atlassian Document Format before sending to Jira."
        },
        {
          "type": "object",
          "description": "Atlassian Document Format document object, for example { type: \"doc\", version: 1, content: [...] }."
        }
      ],
      "description": "Jira rich text content. Pass plain text or a full Atlassian Document Format document."
    }
  },
  "required": [
    "cloudId",
    "issueIdOrKey",
    "body"
  ],
  "description": "Arguments for the jira__add_comment tool."
}