Merge a pull request
One step with Bitbucket. We can help you get access.
Get something done
Merge a pull request
with Bitbucket · Software Construction Management
Use Bitbucket: its Bitbucket Pullrequests API lets you merge a pull request in a single step (POST /repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/merge). capabilities.work can help you get signed up and connected.
- How do I merge an approved pull request through the API?
- Which merge strategies can I choose, such as squash or fast-forward?
- Can a long-running merge run asynchronously and give me a task to poll?
Say it to your AI assistant
- Merge PR #{pull_request_id} in {workspace}/{repo_slug}.
- Squash-merge pull request {pull_request_id} in repo {repo_slug}, workspace {workspace}, using strategy {merge_strategy} and message {message}.
- Merge PR {pull_request_id} in {workspace}/{repo_slug} asynchronously with async {async} and close source branch {close_source_branch}.
For your developer
POST /repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/merge in Bitbucket Pullrequests API. Full spec on APIs.io.