Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Merge via pull requests is getting bypassed even though merge condition exists.

bb.admin February 2, 2023

I have a premium bitbucket account , on my production branch I have set some rules on production-branch that check for at least 2 approvals and check for at least 1 approval from default reviewers but the user are able to merge without any approvals I need to know why it is happening.

from stage-branch to production-branch

here is screenshot of permission on branch 

branch permission.png

 

1 answer

1 accepted

2 votes
Answer accepted
Ulrich Kuhnhardt _IzymesCo_
Marketplace Partner
Marketplace Partners provide apps and integrations available on the Atlassian Marketplace that extend the power of Atlassian products.
February 2, 2023

Hello bb_admin,

To enforce merge conditions you need to check 

Branch restrictions > Merge settings > Prevent a merge with unresolved checks (premium)

 

In the settings list this will look like this

Screen Shot 2023-02-02 at 19.44.21.png

Your screenshot does not show the enforced option enabled.

Please try to enable it and see if that works for you.

Best, Ulrich

// Izymes

bb.admin February 2, 2023

okay thanks @Ulrich Kuhnhardt _IzymesCo_  I will check for this option on my repo setting.

bb.admin February 2, 2023

Thanks @Ulrich Kuhnhardt _IzymesCo_  your suggestion helped me Merging with unresolved merge checks is not allowed was missing on my setting.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events