list_pull_requests
Retrieve pull requests for a Bitbucket repository using filters like state, author, pagination, and more to streamline PR management and review processes.
Instructions
List pull requests for a repository with optional filters
Input Schema
| Name | Required | Description | Default | 
|---|---|---|---|
| author | No | Filter by author username | |
| limit | No | Maximum number of PRs to return (default: 25) | |
| repository | Yes | Repository slug (e.g., "my-repo") | |
| start | No | Start index for pagination (default: 0) | |
| state | No | Filter by PR state: OPEN, MERGED, DECLINED, ALL (default: OPEN) | |
| workspace | Yes | Bitbucket workspace/project key (e.g., "PROJ") | 
Input Schema (JSON Schema)
{
  "properties": {
    "author": {
      "description": "Filter by author username",
      "type": "string"
    },
    "limit": {
      "description": "Maximum number of PRs to return (default: 25)",
      "type": "number"
    },
    "repository": {
      "description": "Repository slug (e.g., \"my-repo\")",
      "type": "string"
    },
    "start": {
      "description": "Start index for pagination (default: 0)",
      "type": "number"
    },
    "state": {
      "description": "Filter by PR state: OPEN, MERGED, DECLINED, ALL (default: OPEN)",
      "enum": [
        "OPEN",
        "MERGED",
        "DECLINED",
        "ALL"
      ],
      "type": "string"
    },
    "workspace": {
      "description": "Bitbucket workspace/project key (e.g., \"PROJ\")",
      "type": "string"
    }
  },
  "required": [
    "workspace",
    "repository"
  ],
  "type": "object"
}