jira_comment_edit
Replace the body of an existing JIRA comment with JFM markdown and optionally adjust visibility restrictions.
Instructions
Edit an existing JIRA comment. body is JFM markdown (see resource omni-dev://specs/jfm) and replaces the current comment text. Optional visibility = {type: "group"|"role", value: <name>} updates the restriction. JIRA enforces stricter permissions on edit than on add (often only the original author can edit) — when JIRA refuses, its error message is surfaced verbatim. Returns the updated comment metadata as YAML.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | New comment body (JFM markdown — see resource `omni-dev://specs/jfm`). | |
| comment_id | Yes | Comment ID to update. | |
| key | Yes | JIRA issue key (e.g., `PROJ-123`). | |
| visibility | No | Optional visibility restriction. Many JIRA configurations only allow the comment author to change visibility — JIRA's response is surfaced as-is when permission is denied. |