Get Pull Requests
bitbucket_get_pull_requestsList pull requests from a Bitbucket Data Center repository. Filter by state, direction, and title text, with pagination and ordering controls.
Instructions
List pull requests for a repository.
Returns pull requests filtered by state, direction, and text. Defaults to showing OPEN pull requests ordered by newest first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max results (1-100) | |
| order | No | Order: NEWEST or OLDEST | |
| start | No | Pagination start index | |
| state | No | PR state filter: OPEN, DECLINED, MERGED, or ALL (default: OPEN) | |
| direction | No | INCOMING (to this repo) or OUTGOING (from this repo) | |
| filter_text | No | Filter PRs by title text | |
| project_key | Yes | The project key | |
| repository_slug | Yes | The repository slug | |
| response_format | No | Output format: markdown (default) or json | markdown |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |