list_pull_requests
List pull requests in a BitBucket repository, filtering by state, workspace, or repository to track open requests or review history.
Instructions
List pull requests in a BitBucket repository.
Use this tool to see pull requests in a repository. By default, shows only open pull requests.
Args: repository: Repository slug. If not provided, uses current repository context. workspace: Workspace slug. If not provided, uses the default workspace. state: Filter by state - 'OPEN', 'MERGED', 'DECLINED', or 'SUPERSEDED'. Default is 'OPEN'. limit: Maximum number of pull requests to return. Default 10.
Returns: JSON list of pull requests with their titles, authors, and status.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| state | No | OPEN | |
| workspace | No | ||
| repository | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |