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?
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
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.