jira_add_comment
Add comments to Jira issues with optional visibility controls for groups or roles. Enables team collaboration by documenting progress, updates, and discussions directly within issue tracking.
Instructions
Adds a comment to an issue. Supports visibility restrictions for groups or roles. Returns the created comment with author details and timestamp.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
body | Yes | Comment body text | |
issueKey | Yes | Issue key to add comment to (e.g., PROJECT-123) | |
visibility | No | Comment visibility restrictions (optional) |
Input Schema (JSON Schema)
{
"properties": {
"body": {
"description": "Comment body text",
"minLength": 1,
"type": "string"
},
"issueKey": {
"description": "Issue key to add comment to (e.g., PROJECT-123)",
"type": "string"
},
"visibility": {
"description": "Comment visibility restrictions (optional)",
"properties": {
"type": {
"description": "Visibility type - either \"group\" or \"role\"",
"enum": [
"group",
"role"
],
"type": "string"
},
"value": {
"description": "Group name or role name for visibility restriction",
"type": "string"
}
},
"required": [
"type",
"value"
],
"type": "object"
}
},
"required": [
"issueKey",
"body"
],
"type": "object"
}