Create pull requests in Bitbucket from Gearset's UI

Catherine Bacon on August 7th 2019


Back in January this year, we made it possible for users with GitHub accounts to create pull requests in GitHub without leaving Gearset's user interface. Now we know plenty of folks who prefer Bitbucket for version control - often it's because of the platform's tight integration with Jira. But, whatever your preference, Gearset plays nice with all major Git platforms! So, really, it was just a matter of time before the requests for the same functionality for Bitbucket were coming in thick and fast, too.

Keep your deployments flowing

If you've set up a Bitbucket connection on the Manage source control and Jira page, you can now create pull requests from within Gearset. After each successful deployment to a feature branch of your Bitbucket repository, there's now a link to open a PR. This saves you the hassle of switching out to Bitbucket every time you run a deployment. Perhaps even more usefully, people on your team without Bitbucket experience can now fire off PRs as well, with a single click in Gearset's UI.

How to create a PR in Bitbucket

Once you've successfully deployed your work to a development branch on your Bitbucket repo, you can open a PR by clicking Create pull request from the Deployment successful page.

When you click on the link, Gearset prepares a PR based on the branch you selected for the deployment. Give your PR a name and select your target:

Gearset fetches the full list of available branches in the repository so that you can choose your target branch. If the repo has a master branch, Gearset will use the master as the default target. Now select your target and hit Create pull request:

Gearset lets you know that it's created the PR. It also gives you a link to view the PR in Bitbucket. Try it out and follow the link to see the PR:

Git, Gearset and version control for Salesforce

If you'd like to know more about working with Git and Gearset, check out our whitepaper on Version control for Salesforce. The whitepaper offers best-practice advice on setting up Git-based workflows for modern Salesforce release management. It discusses typical Git workflows for feature development and bug fixes. Alternatively, why not watch the recording of our recent webinar on Git for Salesforce Admins here.

Got a suggestion for us?

Your feedback and suggestions are what drives us to make continual improvements to Gearset. Please let us know your thoughts, leave us your feedback or suggest a new feature request on our feedback forum. If you have any questions, feel free to get in touch with us anytime via our email or the live in-app chat. We'd love to hear from you!

Ready to get started with Gearset?

Sign up now to start your completely free 30 day trial
try it now