capabilities.work

Check the status of an async PR merge

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

Look something up

Check the status of an async PR merge

with Bitbucket · Software Construction Management

Use Bitbucket: its Bitbucket Pullrequests API lets you check the status of an async PR merge in a single step (GET /repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/merge/task-status/{task_id}). capabilities.work can help you get signed up and connected.

  • My merge returned a 202 with a task id — how do I find out if it finished?
  • Is a slow pull request merge still pending or has it succeeded?
Say it to your AI assistant
  • Check merge task {task_id} for PR #{pull_request_id} in {workspace}/{repo_slug}.
  • Poll whether the async merge {task_id} of pull request {pull_request_id} in repo {repo_slug}, workspace {workspace}, is done.
For your developer

GET /repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/merge/task-status/{task_id} in Bitbucket Pullrequests API. Full spec on APIs.io.