Hi,
I need to identify the commits introduced by a pull request into the master branch (or any destination branch if possible)
The scenario is this:
1) someone opens a pull request that has let's say 3 commits in it.
2) the destination branch is master so in the meanwhile there are other people commiting there
3) the pull request is approved and is merged into master branch
4) because of fast fw mechanism, the hashes of commits that get to master is not the same as those in the initial pull request
Question:
How can i identify via Bitbucket Server REST API 2.0 what commits (hashes) were introduced by a pull request? (or if not possible via rest api, an other mechanism?)
Thank you :),
Hi @cosscat,
Welcome to the community.
You can check out this REST API 2.0 endpoint and see if it works for your workflow: List commits on a pull request
Regards,
Mark C
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.