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,556,162
Community Members
 
Community Events
184
Community Groups

Automated Merge Between Two Branches

Edited

We use bitbucket and as per my use case we have two release branches R1 and R2. All  members of our team commit their changes to R1, however we have a business requirement to have a release branch R2. We use a pull request to merge R1 with R2 every day. Is it possible to set up an automated merge simply for these branches? We don't want automatic merge to impact other release and feature branches. Can I use the feature of bit bucket "Automatic merge"  for my use case?

1 answer

1 vote
Ulrich Kuhnhardt _IzymesCo_
Marketplace Partner
Marketplace Partners provide apps and integrations available on the Atlassian Marketplace that extend the power of Atlassian products.
Sep 22, 2022

Hello @Karthik , welcome!

You are looking for automatically propagating changes that are merged to R1 to R2 every day.

I can see 2 options:

  1. You can use the aforementioned automatic branch merge feature in Bitbucket under the conditions 
    * R1 and R2 actual naming follows semantic versioning.
    * You have a branching model enabled in the repository
    This way you could merge to R1 and the changes will also be merged into R2

  2. Create and merge pull requests via a script that runs daily using the Bitbucket server rest api

Hope that helps!

Cheers Ulrich

// Izymes - our mission is to eliminate boring from work. We build apps that turbo-charge team velocity through contextual automation.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events