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

Sync branch with master

Prabin Singh July 24, 2021

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
Atlassian Team members are employees working across the company in a wide variety of roles.
July 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
AUG Leaders

Atlassian Community Events