edit_comment
Edit an existing comment on a pull request. Use this to fix typos, update information, or reformat comments. Requires the comment version for optimistic locking.
Instructions
Edit an existing comment on a pull request. Use this to fix typos, update information, or reformat comments. Requires the comment version for optimistic locking.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prId | Yes | Pull request ID the comment belongs to. | |
| text | Yes | New text content for the comment. Supports Markdown. | |
| project | No | Bitbucket project key. If omitted, uses BITBUCKET_DEFAULT_PROJECT environment variable. | |
| version | Yes | Current version of the comment (for optimistic locking). Obtain from get_comments or add_comment response. | |
| severity | No | Comment severity. Use BLOCKER to convert to a task, NORMAL to convert back to a comment. | |
| commentId | Yes | ID of the comment to edit. | |
| repository | Yes | Repository slug containing the pull request. |