Using Bitbucket Server, I want to ensure that every change is reviewed by a different person before it can can be merged to the main branch.
I therefore
Now, let's say, a colleague of mine opens a pull request in Bitbucket Server and assigns me as a reviewer. I then push a change to the pull request's branch and then I approve the pull request. This has successfully circumvented the original requirement that every change is reviewed by a different person.
Can I somehow prevent that?
Hi Fabian,
that's a great question. It's a good idea to keep your pull request workflow clean so that your very clever developers can't cut corners :D
I don't think the 'ignore committer approvals' feature is available in Bitbucket server/dc.
We have built Workzone for Bitbucket enterprise teams that offers extensive reviewer and merge configurations.
On of the features is 'Ignore committer approvals' in Workzone's merge configuration . When Bitbucket+Workzone count pull request approvals for a merge-check (the verdict whether or not a PR can be merged or not) any reviewer who has also committed code to the PR source branch and is therefore part of the changeset authors will be ignored when counting approvals.
With this setting in place the effective approval count would be 0 in your use case.
I hope this helps, let us know if you need any further assistance solving your use case.
Best, Ulrich
// Izymes
So this is not possible in Bitbucket server per se, but Wokzone would solve it. Thank you for your answer!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.