(BitBucket Server)
Sometimes a colleague has pushed a feature branch, but has not created a pull request (simply forgotten or some other task came up). On such occasions, another user can create a pull request. However, that user cannot select itself as reviewer, even though s/he has not created the branch nor the commits.
I recognize the point of view that one should be unable to approve one's own pull request when one has made the branch or perhaps commits in it. But the scenario above is not the same (no creation of branch nor commits of the user who created the pull request).
Is this something that can be addressed, or not?
Alternatively, is it possible to have a pull request automatically created when one pushes a branch (and no open pull request exists for that branch)? Or perhaps there is another way to address this situation?
Thanks for any insights.
Hey Jos
You can create your own Post Receive Hook for this purpose - there is no built-in functionality for this in Bitbucket Server.
You can also take a look at some add-ons available in Marketplace in order to require a PR on pushes:
King Regards
Rodrigo
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.