MCP Libraries
mcp-jira-stdioTools Reference

jira_add_comment

Add a comment to a Jira issue

jira_add_comment

Add a comment to an issue with optional visibility controls.

Parameters

ParameterTypeRequiredDescription
issueKeystringYesIssue key (e.g., "PROJ-123")
bodystringYesComment body (supports Jira markdown)
visibilityobjectNoVisibility restrictions
visibility.typestringNogroup or role
visibility.valuestringNoGroup or role name

Example

{
  "tool": "jira_add_comment",
  "arguments": {
    "issueKey": "PROJ-123",
    "body": "I've reviewed this issue and found the root cause. Fix incoming."
  }
}

With Visibility Restriction

{
  "tool": "jira_add_comment",
  "arguments": {
    "issueKey": "PROJ-123",
    "body": "Internal note: This affects the production database.",
    "visibility": {
      "type": "role",
      "value": "Administrators"
    }
  }
}

Response

Returns the created comment with:

  • id - Comment ID
  • author - Comment author details
  • body - Comment content
  • created - Creation timestamp
  • updated - Last update timestamp

Jira Markdown Support

Comments support Jira's wiki markup:

*bold*
_italic_
{code}code block{code}
[link text|https://example.com]

On this page