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

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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
This widget could not be displayed.
TAGS
Community showcase
Posted in Bitbucket

How do you use the Bitbucket-Jira integration? How does it help your team?

Hey everyone, over the past year, we've added several new features on how you can use Bitbucket and Jira together. We'd love to know how you are using the integration and how it's helping your team...

907 views 5 3
Join discussion

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