list_pull_requests
List pull requests in a Bitbucket repository filtered by state, author, or direction. Use this to find open PRs, see your pending reviews, discover PRs awaiting merge, or get an overview of PR activity in a repository.
Instructions
List pull requests in a Bitbucket repository filtered by state, author, or direction. Use this to find open PRs, see your pending reviews, discover PRs awaiting merge, or get an overview of PR activity in a repository.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Number of pull requests to return (default: 25, max: 1000). | |
| start | No | Start index for pagination (default: 0). | |
| state | No | Filter by PR state (default: "OPEN"). Use "ALL" to see pull requests in any state. | |
| author | No | Filter by author username (exact match). Only returns PRs created by this user. | |
| project | No | Bitbucket project key. If omitted, uses BITBUCKET_DEFAULT_PROJECT environment variable. | |
| direction | No | Filter by direction: "INCOMING" for PRs targeting this repo (default), "OUTGOING" for PRs from this repo to other repos. | |
| repository | Yes | Repository slug to list pull requests from. |