bb_edit_pull_request_comment
Edit the body of an existing Bitbucket pull request comment. Replace its content with new Markdown text to update the comment.
Instructions
Edit the body of an existing Bitbucket pull request comment.
Replaces the comment's content with content and returns the updated
comment. Only the comment's author may edit it — editing someone else's
comment fails with an authorization error. Get comment ids from
bb_get_pull_request_comments.
Args: pull_request_id: The PR id (number). comment_id: The id of the comment to edit. content: New comment body (Markdown), replaces the old one. workspace: Bitbucket workspace slug. repo: Repository slug.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | No | Repository slug. Defaults to BITBUCKET_DEFAULT_REPO. | |
| content | Yes | New comment body (Markdown), replaces the old one. | |
| workspace | No | Bitbucket workspace slug. Defaults to BITBUCKET_WORKSPACE. | |
| comment_id | Yes | The id of the comment to edit. | |
| pull_request_id | Yes | The PR id (number). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||