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,296,024
Community Members
 
Community Events
165
Community Groups

Sync branch with master

Hi All,

Currently we have branches as such:

Master

develop

release/* 

feature/*

 

Is there a way to auto create a PR to all release branch if a change has been made to master branch?

1 answer

1 accepted

0 votes
Answer accepted
Caroline R Atlassian Team Jul 26, 2021

Hi, @Prabin Singh! Welcome to the community! 

Currently, it’s no possible to auto-create a Pull Request to all release branches if a change has been made to the master branch in Bitbucket Cloud. I can create a feature request to implement this on Bitbucket Cloud, would you like me to do that?

In the meantime, you could perhaps achieve this by using webhooks and our API. You could create a webhook with trigger repo:push that will send a request to your server, then you can have a script on that server that will check if the push was on the master branch. If so, then you can use our API to create a PR from master to your release branches.

Just to let you know, we do have a feature request to automatic merge a branch on Bitbucket Cloud: 

If you are not familiar with our Feature Request Policy, you can read more about it here: 

I hope this helps, but please let me know if you have any questions. 

Kind regards,
Caroline

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bitbucket

Git push size limits are coming to Bitbucket Cloud starting April 4th, 2022

Beginning on April 4th, we will be implementing push limits. This means that your push cannot be completed if it is over 3.5 GB. If you do attempt to complete a push that is over 3.5 GB, it will fail...

2,170 views 2 9
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you