Bitbucket pull request support is here! 😱

It was long overdue to introduce pull request support for Bitbucket users, however we had to make a couple of changes to make it as easy as possible.

It was long overdue to introduce pull request support for Bitbucket users, however we had to make a couple of changes to make it as easy as possible. Supporting pull requests for GitHub was piece of 🍰. GitHub simply creates a new merge branch for every pull request that we can fetch and checkout. You can use this logic for pull requests coming from the same repository or from fork repositories. Bitbucket unfortunately doesn't have this nice feature, instead you have to merge as you would do locally. This gets a bit tricky when the pull request is coming from a private fork. This way you need to have access for the private fork as well, otherwise the generic solution would simply fail.

We tried to find a solution where users don't have to setup multiple SSH keys to make this happen, and finally we can say that we've tracked it down! 🙌 Bitbucket also has a REST API, where they are exposing the diff files between pull requests, so if you have OAuth access enabled for Bitbucket, we can simply download this diff file and apply it to your destination branch. This will give you the merged changes for each build.

Important: OAuth handling happens on Bitrise, so we won't expose your OAuth token during builds!

With these changes we've introduced new ways to merge pull requests. Now if the service supports merge branches or diff files we will use them, otherwise we will fall back to the normal, generic way. This also means, that you will see a couple of new services supported pretty soon!

To enable it for an existing project please follow this guide, however, if you add a new app, we will do this for you automatically! 👍

If you want to collect good karma and interested in helping us adding new services, please head this way >. ❤️

No items found.
The Mobile DevOps Newsletter

Explore more topics

App Development

Learn how to optimize your mobile app deployment processes for iOS, Android, Flutter, ReactNative, and more

Bitrise & Community

Check out the latest from Bitrise and the community. Learn about the upcoming mobile events, employee spotlights, women in tech, and more

Mobile App Releases

Learn how to release faster, better apps on the App Store, Google Play Store, Huawei AppGallery, and other app stores

Mobile DevOps

Learn Mobile DevOps best practices such as DevOps for iOS, Android, and industry-specific DevOps tips for mobile engineers

Mobile Testing & Security

Learn how to optimize mobile testing and security — from automated security checks to robust mobile testing and more.

Product Updates

Check out the latest product updates from Bitrise — Build Insights updates, product news, and more.

The Mobile DevOps Newsletter

Join 1000s of your peers. Sign up to receive Mobile DevOps tips, news, and best practice guides once every two weeks.