getPullRequests
Fetches pull requests from a Bitbucket repository, filtered by state (open, merged, declined, superseded) with pagination support.
Instructions
Get pull requests for a repository
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workspace | Yes | Bitbucket workspace name | |
| repo_slug | Yes | Repository slug | |
| state | No | Pull request state | |
| pagelen | No | Number of items per page (Bitbucket pagelen). Defaults to 10 and caps at 100. | |
| page | No | Bitbucket page number to fetch (1-based). | |
| all | No | When true (and no page is provided), automatically follows Bitbucket next links to return all items up to 1000. | |
| limit | No | Deprecated alias for pagelen. Use pagelen/page/all for pagination control. |