Create pull request
bb_create_pull_requestCreate a pull request from a source branch to a destination branch. Add title, description, and reviewers to start code review.
Instructions
Creates a new pull request from a source branch into a destination branch.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | Pull request title. | |
| repoSlug | No | Repository slug. Falls back to BITBUCKET_REPO_SLUG if omitted. | |
| reviewers | No | Usernames/UUIDs to add as reviewers. | |
| workspace | No | Bitbucket workspace slug. Falls back to BITBUCKET_WORKSPACE if omitted. | |
| description | No | Pull request description (Markdown). | |
| sourceBranch | Yes | Branch containing the changes. | |
| closeSourceBranch | No | Delete the source branch after merging. | |
| destinationBranch | No | Target branch. Defaults to the repository's main branch if omitted. |