list_pull_requests
Retrieve all pull requests from a Bitbucket repository, filtering by state (OPEN, MERGED, or DECLINED) to monitor code review progress and manage merge workflows.
Instructions
List all pull requests in a repository.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
repository_name | Yes | Name of the repository (repo slug) | |
state | No | The state of the pull request. |
Input Schema (JSON Schema)
{
"properties": {
"repository_name": {
"description": "Name of the repository (repo slug)",
"type": "string"
},
"state": {
"description": "The state of the pull request.",
"enum": [
"OPEN",
"MERGED",
"DECLINED"
],
"type": "string"
}
},
"required": [
"repository_name"
],
"type": "object"
}