Create PR
create_prOpens a new pull request in Bitbucket with configurable branches, markdown description, and reviewers, including an option to delete the source branch on merge.
Instructions
Open a new pull request. source_branch defaults to the current git branch when run from inside a checkout. destination_branch defaults to the repository's configured main branch on Bitbucket. description is interpreted as Markdown. reviewers is a list of Bitbucket account UUIDs (including the curly braces).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | No | Bitbucket repo slug. | |
| title | Yes | PR title. | |
| reviewers | No | Reviewer account UUIDs (e.g. `{abcd-...}`). | |
| workspace | No | Bitbucket workspace (slug). | |
| description | No | PR description (Markdown). | |
| source_branch | No | Source branch name. Defaults to the current git branch. | |
| destination_branch | No | Destination branch name. Defaults to the repo's main branch. | |
| close_source_branch | No | If true, the source branch is deleted on merge. |