bb_create_pull_request
Create a Bitbucket pull request by specifying title, source and destination branches, description, and reviewers. Optionally set to delete source branch after merge.
Instructions
Create a new Bitbucket pull request.
Args: title: PR title. source_branch: Source branch name. destination_branch: Destination branch name (default "main"). description: PR description (Markdown). reviewers: List of Bitbucket account UUIDs. close_source_branch: Delete source branch after merge. workspace: Bitbucket workspace slug. repo: Repository slug.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | No | Repository slug. Defaults to BITBUCKET_DEFAULT_REPO. | |
| title | Yes | PR title. | |
| reviewers | No | List of Bitbucket account UUIDs to request as reviewers. | |
| workspace | No | Bitbucket workspace slug. Defaults to BITBUCKET_WORKSPACE. | |
| description | No | PR description (Markdown). | |
| source_branch | Yes | Source branch name. | |
| destination_branch | No | Destination branch name. | main |
| close_source_branch | No | Delete the source branch after merge. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||