update_pull_request
Modify existing Bitbucket pull requests by updating titles, descriptions, destination branches, reviewers, or source branch settings to reflect changes during code review.
Instructions
Update/edit an existing Pull Request on Bitbucket Cloud.
Args: repo_slug: Repository slug (name) pr_id: Pull Request ID to update title: New PR title (optional) description: New PR description (optional) destination_branch: New destination branch (optional) reviewers: List of reviewer UUIDs or account_ids to set as reviewers (optional). Pass empty list [] to remove all reviewers. close_source_branch: Whether to close source branch on merge (optional) workspace: Bitbucket workspace (optional if configured)
Returns: Updated PR details or error message
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo_slug | Yes | ||
| pr_id | Yes | ||
| title | No | ||
| description | No | ||
| destination_branch | No | ||
| reviewers | No | ||
| close_source_branch | No | ||
| workspace | No |