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

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,467,464
Community Members
 
Community Events
177
Community Groups

Can you create a merge check on a pull request that verifies the target branch has not been updated?

I see there is a merge check available that verifies no further have been made to the source branch since the pull request was created. But is there a way to create a merge check that will prevent a pull request is the target branch is ahead of the source branch? For example if the source branch is feature/1 and the target branch is master. But master has had a commit on it since feature/1 was branched from it.

1 answer

1 accepted

0 votes
Answer accepted

Hi Rob,

welcome to the community!

If I understand your question correctly you are looking to block pull requests that would result in a non-trivial merge, i.e. both source and target branch had independent commits?

As far as I know there is no such merge-check built into BB Cloud. Here is a ticket for Atlassian to allow custom merge-checks so that developers could implement merge-checks like this.

At first I thought you could use repository forks and keep them synch'ed automatically - but that's only available in Bitbucket server/dc. See https://jira.atlassian.com/browse/BCLOUD-17624 as a feature request.

Best, Ulrich

Izymes - Empowering Teams

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events