create_pull_request
Open a new Bitbucket pull request to merge a source branch into a destination branch. Specify workspace, repo, title, and source branch to submit code changes for review.
Instructions
Create a new pull request
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| draft | No | Create PR as draft | |
| title | Yes | PR title | |
| repo_slug | Yes | Repository slug | |
| reviewers | No | Array of reviewer UUIDs or account IDs | |
| workspace | Yes | Bitbucket workspace slug | |
| description | No | PR description (markdown) | |
| source_branch | Yes | Source branch name | |
| destination_branch | No | Destination branch (defaults to repo main branch) | |
| close_source_branch | No | Delete source branch after merge |