Are you in the loop? Keep up with the latest by making sure you're subscribed to Community Announcements. Just click Watch and select Articles.

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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

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

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.
Feb 02, 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

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

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
Site Admin
TAGS
AUG Leaders

Atlassian Community Events