How to determine remote merge status via REST API?

martinthomas
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 13, 2023

Using Bitbucket Server 8.3.3, I can use the REST API to fetch information about pull requests for a repository.

Example: /rest/api/latest/projects/<PROJ>/repos/<REPO>/pull-requests/<ID_NO>

 

The response provides the author info, the state of the request, approvers etc.

In the event that a pull request was merged remotely, this information shows in the UI - is there an equivalent information available via any REST API?  Without it, it appears as if the request was merged without approval 

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events