Get pull request build statuses
bb_get_pull_request_buildsFetches CI build statuses for a pull request's source-branch head commit, helping you verify checks passed before merging or reviewing.
Instructions
Fetch the CI build statuses attached to the pull request's source-branch head commit (build-state integration).
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_get_pull_request_builds"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | One-based page number (Cloud only; from nextPageStart of the previous call). Ignored on Server/DC. | |
| limit | No | Page size (1-1000). | |
| start | No | Zero-based page offset (Server/DC). | |
| projectKey | Yes | Project key (on Cloud: workspace slug). | |
| pullRequestId | Yes | Pull request id, e.g. 101. | |
| repositorySlug | Yes | Repository slug, e.g. 'service-api'. |