Reopen pull request
bb_reopen_pull_requestReopens a declined pull request by ID and retries once on version conflicts using optimistic locking.
Instructions
Reopen a declined pull request. Uses optimistic locking: re-fetches the current version and retries once on a 409 conflict.
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>"
},
"name": "bb_reopen_pull_request"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectKey | Yes | Project key (target repository; on Cloud: workspace slug). | |
| pullRequestId | Yes | Pull request id. | |
| repositorySlug | Yes | Target repository slug. |