0

Bitbucket has a remote merge facility. In the event that a target branch already contains the commits in a pull request, the PR will be remotely merged.  I would like to determine which pull requests contain a commit so I can determine which approved pull requests led to the remote merge status.

From the API docs, I can use GET /rest/api/latest/projects/{projectKey}/repos/{repositorySlug}/pull-requests/{pullRequestId}/commits to identify the commits. Is there a reverse operation that shows pull requests for a specific commit?

I am not finding the info in the API page here: https://developer.atlassian.com/server/bitbucket/rest/v807/

Spaceghost
  • 6,835
  • 3
  • 28
  • 42

0 Answers0