I have a project in Stash I MEAN Bitbucket Server.
We currently require 1 approval for any pull request to be merged.
I want to configure it so that pull requests against the
master branch require 2 approvals to be merged.
Is this kind of special custom-approval-rule-per-branch possible, either with a plug in or out of the box?
Hi @Noah Zucker,
That isn't available out of the box, but you have a couple of options. You could raise an issue in the BSERV project on https://jira.atlassian.com for consideration by our product management team. Alternatively, merge checks are actually pluggable, so if you have the inclination (and some basic Java skills), you could actually implement it yourself. There's a great tutorial here if you're interested: https://developer.atlassian.com/bitbucket/server/docs/latest/tutorials-and-examples/controlling-when-pull-requests-can-be-merged.html
Hope this helps!
Hello! My name is Mark Askew and I am a Premier Support Engineer for products Bitbucket Server/Data Center, Fisheye & Crucible. Today, I want to bring the discussion that Jennifer, Matt, and ...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs