Update pull request comment
bb_update_pull_request_commentEdit pull request comment text or severity, resolve or reopen its thread, or change a comment task's state using project, repository, pull request, and comment identifiers.
Instructions
Update a comment's text or severity, resolve/unresolve its thread (state=RESOLVED|OPEN), or reopen/close one of its tasks (taskId+taskState). Server/DC uses optimistic locking (re-fetch + one retry on 409); Cloud applies single PUTs and has no severity field (the '[BLOCKER]' text tag is the convention).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"projectKey": "<projectKey>",
"repositorySlug": "<repositorySlug>",
"pullRequestId": "<pullRequestId>",
"commentId": "<commentId>"
},
"name": "bb_update_pull_request_comment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | New comment text. | |
| state | No | Thread state (RESOLVED resolves the thread). | |
| taskId | No | Task id to update (requires taskState). | |
| severity | No | New severity (Server/DC only; echoed with a note on Cloud). | |
| commentId | Yes | Comment id to update. | |
| taskState | No | New task state (requires taskId). | |
| projectKey | Yes | Project key (on Cloud: workspace slug). | |
| pullRequestId | Yes | Pull request id. | |
| repositorySlug | Yes | Repository slug. |