Edit Comment
jira_edit_commentEdit an existing comment on a Jira issue by providing the issue key, comment ID, and updated Markdown content. Optionally set visibility for restricted audiences.
Instructions
Edit an existing comment on a Jira issue.
Args: ctx: The FastMCP context. issue_key: Jira issue key. comment_id: The ID of the comment to edit. body: Updated comment text in Markdown. visibility: (Optional) Comment visibility as JSON string.
Returns: JSON string representing the updated comment object.
Raises: ValueError: If in read-only mode or Jira client unavailable.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| issue_key | Yes | Jira issue key (e.g., 'PROJ-123', 'ACV2-642') | |
| comment_id | Yes | The ID of the comment to edit | |
| body | Yes | Updated comment text in Markdown format | |
| visibility | No | (Optional) Comment visibility as JSON string (e.g. '{"type":"group","value":"jira-users"}') |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |