I use a complex branching strategy, and rely on users not mucking stuff up by doing things manually, as this can affect everything, including Continuous Delivery.
I need my build server to be responsible for creating PRs based on commits, as the target branch depends on which JIRA issue the source branch corresponds to (issue type, linked issues, etc).
Can I set permissions somewhere to deny users the ability to create PRs?
If not, my entire branching strategy is unachievable using Bitbucket.
Hi Ash!
Afaik it's not possible to do that, but we have a feature request that might interest you, you can vote for it at BSERV-10517.
Hope that helps!
Ana
Hi @Ana Retamal
The feature request you have referred to is for the ability to prevent developers from creating PRs to specific branches. That will not work once you have dynamic branches, as seen by the OP needing to externally communicate to developers which branch to use. This creates room for errors. When you have a complex branching strategy, the only way to make sure PRs are created correctly is to force-automate the process.
The only way to achieve that is to prevent users from manually creating PRs. This would a simple setting in Bitbucket.
I tried to see where I could raise this as a feature request but I couldn’t find the Bitbucket Cloud category, only the server. Could you please advise.
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.