reopenPullRequest
Reopens a declined pull request in Bitbucket Data Center using its repository slug and PR ID so it can continue through review and merge.
Instructions
Reopen a declined PR
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": {
"repoSlug": "<repoSlug>",
"prId": "<prId>"
},
"name": "reopenPullRequest"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prId | Yes | ||
| repoSlug | Yes | ||
| projectKey | No |