capabilities.work

Merge a pull request

One step with Atlassian. We can help you get access.

Get something done

Merge a pull request

with Atlassian · Software Construction Management

Use Atlassian: its Atlassian 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?
  • Can I pick a squash or fast-forward merge strategy and close the source branch when merging?
  • What if a merge takes too long — can it run asynchronously?
Say it to your AI assistant
  • Merge pull request #{pull_request_id} in {workspace}/{repo_slug}.
  • Merge PR {pull_request_id} in {repo_slug} using the {merge_strategy} strategy with message {message}.
  • Merge PR {pull_request_id} in {repo_slug} and close the source branch: {close_source_branch}.
For your developer

POST /repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/merge in Atlassian Bitbucket Pullrequests API. Full spec on APIs.io.