Bitbucket vs Gerrit Code Review

Bitbucket fits teams that want hosted pull requests, Pipelines and Atlassian integrations under one vendor. Gerrit fits teams that need patchset review, fine-grained approvals and self-hosted control, and that can run the server themselves.

On this page

Bitbucket alternative: when Gerrit Code Review fits and when it does not

Gerrit Code Review is worth evaluating when the problem is how code gets approved. Bitbucket fits teams that want hosted pull requests, Pipelines and little server work, and Bitbucket Cloud is the simpler path when standard pull request approvals cover your rules. Gerrit fits teams that need approval-heavy review, fine-grained permissions and self-hosted control, and that have staff to operate the server. Gerrit is a code review system built around patchsets, so it is a weak fit if you need one tool for code, issues and wiki together. Confirm that last point against the current feature list before you plan around it.

The decision turns on five questions. The first is the review model: Gerrit reviews patchsets, so a team that works in branch-based pull requests will change habits and tooling. The second is whether issues and wiki must sit in the same tool as the code, because the Gerrit material you will read covers review, not issue tracking or wiki. The third is CI choice: Gerrit integrates with Jenkins, GitHub Actions, Zuul and webhooks, so existing Pipelines jobs need a new home. The fourth is data location, meaning where the review server and its repositories run and who can reach them. The fifth is operating capacity, which covers upgrades, backups, replication and the staff time each one takes.

Before you choose, take a sample of recent reviews and write each approval rule your policy requires as a plain statement, such as who may approve, who may submit and who may override. Map each statement to a Gerrit approval setting and to a Bitbucket control, and check whether the Bitbucket plan you would renew includes enforced merge checks, which the pricing page lists under Premium. Gerrit is licensed under the Apache License, Version 2.0, so the software carries no license fee and your costs sit in servers, staff, CI infrastructure and any support contract. The project site offers Gerrit 3.15.0 for download, so confirm which release you would deploy and its upgrade path before you commit (Gerrit Code Review project site).

When Gerrit code review is the better fit than Bitbucket

This table compares six scenarios where Gerrit Code Review fits better than Bitbucket, and the condition under which each advantage matters. Match your own constraint to a row, then confirm the flagged items against the Gerrit version and topology you plan to run. The main takeaway is that Bitbucket usually wins on hosting convenience and Atlassian integration, while Gerrit wins when review rules, in-house operation, existing CI or multi-site replication drive the decision.

ScenarioBetter fitWhen the advantage matters
Hosted pull requests with no servers to runBitbucket CloudTeams that want no self-managed servers, upgrades or backups and accept Atlassian hosting for code and reviews.
Approval rules tied to patchsets and fine-grained permissionsGerritReviews where each new patchset must be approved again and access must be set per project or branch.
In-house control of code with an existing infrastructure teamGerrit, or Bitbucket Data Center if Atlassian-managed software is requiredYour engineers already run Git infrastructure in your own datacenter and want to own the software, patching and access paths.
Pipelines and Jira-linked workflowsBitbucketTeams that already build in Pipelines and track work in Jira, where Gerrit would need separate CI and issue tooling.
Existing Jenkins, Zuul or GitHub Actions estateGerritYour CI already runs on these systems. Gerrit lists integrations with them, so confirm the exact integration for your version.
Multi-site replication needsGerritTeams in several regions need replicated repositories or active-active clustering. Confirm the topology against Gerrit's documentation before you choose it.

How Gerrit's patchset review changes daily work from pull requests

In Gerrit Code Review, review centers on the change, and each revision of that change is a patchset. A developer pushes a commit to a review reference to start the review, and every later amend-and-push creates a new patchset under the same change. Reviewers leave inline comments on a specific patchset, then compare a newer patchset with an earlier one to see exactly what moved. Votes are recorded as labels, and the number and type of votes needed before a change can be submitted are set through configurable approval rules. The Gerrit project site describes this combination of patchset management, configurable approvals and a fine-grained permission model. That is the main structural difference from a Bitbucket pull request, where the branch and its discussion persist as the code changes.

For developers, the main change is habit. Each change is usually one commit, feedback is handled by amending that commit and pushing again, and the team needs to learn this workflow, including the review push target, before its first review. For reviewers, the unit of work is the change: they follow one change through its full series of patchsets, and the comment history stays attached to the change itself, so a reply on patchset two is still visible when patchset four arrives. For release managers, the value sits in branch-level submit rules. Approval counts and verification results can be set per branch, and the record of who voted on which patchset is kept with the change. Before relying on this, map each Bitbucket approval and enforced merge check to a Gerrit label or submit requirement, because Bitbucket Premium's merge checks do not carry over automatically.

This model pays off when a branch needs a strict approval policy and each revision deserves a deep review, such as a shared library or a regulated release line. A pull request flow is simpler for teams that already work in short-lived branches, rely on light review, or include contributors who do not want to learn patchset workflows. Before any migration decision, run a pilot with one team on one repository for a period agreed in advance. Connect the existing CI through the integrations Gerrit lists (Jenkins, GitHub Actions, Zuul and webhooks), and record how developers, reviewers and the release manager each use the workflow. Confirm the Gerrit version you would run, since the project site currently offers Gerrit 3.15.0 for download, and review the terms of the Apache License, Version 2.0 that govern it.

Capabilities of Bitbucket and Gerrit Code Review side by side

This table compares Bitbucket Cloud with self-hosted Gerrit Code Review across review model, approvals, CI, API, scale, issue tracking and repository limits. Bitbucket cells use Atlassian's published limits and Pipelines, while Gerrit cells come from the project site and are marked where you must confirm a gap in your own environment. The main takeaway is that Gerrit is a review system you run yourself, so issue tracking, wiki, LFS and size limits need checks before any move.

CapabilityBitbucket CloudGerrit Code Review
Code review modelPull requests with inline comments, reviewers and a branch-based workflow.Patchset-based reviews with inline comments and a version history for each change.
Approvals and permissionsBranch permissions and merge checks. The Premium plan adds enforced merge checks and deployment permissions.Configurable approval processes and a fine-grained permission model. Confirm your policies map onto these rules.
CI integrationBuilt-in Pipelines. Premium self-hosted runners cost $15 per month per concurrent build slot, per Atlassian.Integrates with Jenkins, GitHub Actions, Zuul and webhooks. Confirm the CI setup your pipelines need.
REST API1,000 requests per hour over a rolling window for most authenticated resources, per Atlassian.A REST API is listed on the project site. Confirm endpoint coverage and rate limits in your deployment.
Scale and replicationVendor-hosted in Cloud. Data Center is self-managed, so confirm its clustering and replication options.Global replication and active-active clustering are listed on the project site. Confirm sizing for your load.
Issue tracking and wikiRepository issue tracker and wiki. Confirm current availability per plan with Atlassian.Not listed among Gerrit's features. Confirm the need and plan a separate tracker and wiki.
Repository size limitsCloud repositories have a 4 GB limit, and Atlassian recommends staying under 2 GB.Confirm: not stated on the project site. Test large repositories and LFS support on your own storage.

Where your code and review data live under each option

Each option answers a different question: where the data sits, who operates the platform, how people sign in and how you leave. The cards below cover those decisions for Bitbucket Cloud, Bitbucket Data Center, the Bitbucket Hybrid License and self-hosted Gerrit Code Review.

Where code and review data sits

Bitbucket Cloud is hosted by Atlassian, so confirm the storage region in writing before you sign. Gerrit runs in your own cloud account, data center or air-gapped network, so the location is your decision and your responsibility. Location only matters when a regulation or contract requires code to stay in a named place. If yours does, ask Atlassian which region holds your repositories, pull request data and attachments, and check whether backups or support access move that data elsewhere.

Hosting model and product lifecycle

Bitbucket is offered as Bitbucket Cloud, Bitbucket Data Center and the Bitbucket Hybrid License, which covers Data Center and Cloud, as described on Atlassian's journey-to-cloud page. Atlassian's September 8, 2025 announcement set end of life for its Data Center products on March 28, 2029, while the journey page says Bitbucket Data Center continues beyond 2029. Get that conflict resolved in writing as part of any renewal. Gerrit is self-hosted only, so you choose the hosting, the upgrade cadence and who operates it.

Journey to cloud

Identity, groups and approval rules

Map identity groups to approval rules before cutover. With Gerrit, SSO and group membership should feed the fine-grained permission model and the configurable approval process, so, for example, a reviewer in your security group approves only the projects they own (illustrative). Confirm the identity connector for your provider, and test a login from each group. Ask Atlassian which SSO and group mapping features your Bitbucket edition includes, since those features depend on your plan.

Control ownership and audit evidence

You own the controls, whichever platform you choose. With Gerrit in your environment, access reviews, change records, backup restores and logging are your evidence, and an auditor will ask for them directly. Bitbucket Cloud relies on Atlassian's assurance documentation for the hosted layer, while your access and change controls remain yours. DeployOpen prepares systems, controls and evidence, but independent auditors issue any report, so agree the evidence list with your auditor first.

Exit and history export

Git history leaves cleanly. Clone every repository with its branches and tags, or mirror it, and the commit graph moves intact. Review history does not: pull requests, comments and approvals need an API export, and Bitbucket Cloud allows 1,000 requests per hour for most authenticated resources, so plan a long export window. Test the export on one large project before contract end. Make sure the export includes LFS objects, which a plain clone may not fetch.

API request limits

How a Gerrit change reaches the branch, and where CI gates it

The change starts when a developer pushes a patchset to Gerrit, which opens it for review instead of merging it. Gerrit notifies CI through webhooks, and Jenkins, Zuul or GitHub Actions builds and tests the patchset and reports back. Reviewers add inline comments and votes, and the submit gate merges the change into the target branch only when the configured approvals and CI results are in place. The Gerrit server, CI runners and identity provider sit inside the trust boundary in your infrastructure. Check who can vote, who can submit, and where CI credentials are stored. The dotted Bitbucket path marks the comparison if your team stays on Bitbucket CI.

Gerrit change flow from push to merge, with the Bitbucket CI comparison path.

What Bitbucket and self-hosted Gerrit cost by component

Bitbucket costs are mostly recurring fees set by Atlassian, while self-hosted Gerrit moves cost to servers, staff time and a one-time migration. The Gerrit project is licensed under the Apache License, Version 2.0, so the project itself charges no per-seat software fee. Use these cards to match each component to a line in your budget and to a written quote.

Bitbucket Cloud seats

Atlassian bills Bitbucket Cloud per user, so every account that can push, review or merge code is a recurring per-user fee. The Free plan covers up to 5 users, and the published Standard and Premium rates are per user per month. Premium adds enforced merge checks, IP allowlisting, deployment permissions and required two-step verification, so confirm which of these controls your security team needs before you choose a tier. Ask Atlassian how contractors and service accounts are counted, because headcount drives this cost up.

Bitbucket pricing page

Bitbucket build capacity

Hosted Pipelines builds run on Atlassian's infrastructure, but a team that builds on its own machines pays for each concurrent build slot. From runner version 5, premium self-hosted runners cost $15 per month per concurrent build slot, a change Atlassian announced on December 3, 2025. Your cost follows peak parallel jobs, not total commits, so measure concurrency over a normal working week before you size it. Self-hosted runners also mean your team maintains the build machines, which is a cost that does not appear on the Atlassian invoice.

Runner pricing announcement

Bitbucket Data Center or Hybrid License

Bitbucket Data Center is the self-managed option, and Atlassian does not publish its price, so the figure comes only from a quote. Atlassian says Data Center customers can keep Data Center and add Cloud features such as AI and CI/CD under one Bitbucket Hybrid License. Atlassian's announcement sets March 28, 2029 as the end of life for its Data Center products, while its journey-to-cloud page says Bitbucket Data Center continues beyond 2029. Ask for the scope, user count, repository count, history volume and support terms in writing.

Journey-to-cloud options

Gerrit infrastructure

The Gerrit software costs nothing per seat, so the recurring spend is the servers, storage, backups and replicas you run it on. Gerrit supports global replication and active-active clustering, and each additional site adds compute, network and storage to maintain. Repository history grows over time, so budget storage for backups and replicas, not only for the primary server. Monitoring tools and the hosting contract for the data center or cloud account also belong in this line. Costs rise with repository count, history volume and the number of review sites.

Gerrit project site

Gerrit operations and upgrades

Operations is the component most likely to recur without a line item, because staff time pays for it. Your team applies Gerrit releases, checks plugin compatibility across the over 100 community plugins you use, and covers on-call for review and CI outages. Test each upgrade on a staging copy before it reaches production, and record which plugins you depend on. Staff time can come from your payroll, an outside support contract or both, so compare each option in the quote. Costs rise with plugin count and the number of sites.

One-time migration from Bitbucket

Moving from Bitbucket to Gerrit is a one-time project that covers inventory, history export, permission mapping, CI rebuild and parallel running. Gerrit's patchset review model differs from Bitbucket pull requests, so decide how open reviews move before cutover. Map Bitbucket branch and project permissions onto Gerrit's fine-grained permission model, then rebuild pipelines with Jenkins, GitHub Actions, Zuul or webhooks. Cost drivers are repository count, review history volume and the number of pipelines to rebuild. Ask the implementer for a written scope that lists each step.

What the Apache License 2.0 and Atlassian licensing mean for your budget

Start with the Gerrit license, because it removes one line from the budget. The COPYING file in the Gerrit repository is the Apache License, Version 2.0, and the Gerrit project site offers version 3.15.0 for download. Under that license, running Gerrit carries no per-user fee, so the software line does not grow as reviewers are added. Three things still carry their own terms. Plugins come first, and the Gerrit site mentions more than 100 community plugins, each of which needs its own license check. Packaged distributions from third parties are the second item, and any commercial support contract is the third. Have counsel review each of these before the budget is approved, and treat the Apache License as the starting point for that review.

Bitbucket's cost scales with people. The Bitbucket pricing page lists a Free tier for up to 5 users, Standard at $3.65 per user per month and Premium at $8 per user per month. Premium adds enforced merge checks, IP allowlisting, deployment permissions and required two-step verification, so confirm which of those controls your review process depends on before choosing a tier. Bitbucket Data Center works differently. Its pricing is not published, and the pricing page directs buyers to contact Atlassian, so the quote-based figure is the one to compare. Existing Data Center customers can use the Bitbucket Hybrid License to keep Data Center while getting Cloud features such as AI and CI/CD under a single license. Ask Atlassian in writing for the Hybrid License terms, the renewal term, and how the license treats the March 28, 2029 end-of-life date announced for Atlassian's Data Center products.

The license comparison matters most when your budget is per user and your team wants to size the cost of running the server. Bitbucket's line rises with headcount and tier, and a Data Center or Hybrid License figure must be obtained before it can be compared. Gerrit's license carries no fee, but the server, storage, backups, upgrades and the staff time to run them remain, and you size those yourself. Build one sheet that shows the Bitbucket seat count at each tier and the quoted Data Center figure beside the Gerrit server and staff estimate, then confirm every input in writing before you compare totals.

How a move from Bitbucket to Gerrit code review works

This sequence moves source hosting from Bitbucket to self-hosted Gerrit Code Review in an order that keeps code reachable at every stage. Each step has an owner and a check that must pass before the next one begins. Permissions, history export and CI need the most checking, so they set the pace of the move.

  1. Inventory repositories, branch rules, reviewers and CI

    Your team lists every repository with its owner, branch permissions, required reviewers, approval groups, user accounts, webhooks and the Pipelines configuration that depends on it. Platform engineering or the security team owns the list, and each team lead confirms their rows. The inventory is done when every repository has a complete row and someone outside the project team has checked it against the live Bitbucket settings. It takes longer when repositories have no clear owner, when permissions were granted to individuals one at a time, or when many webhooks point at services nobody still maintains.

  2. Decide what stays on Bitbucket during transition

    Leadership, engineering managers and the security team decide which repositories move first, which stay on Bitbucket while open work finishes, and whether any Bitbucket Cloud or Data Center service keeps running during the overlap. Record each decision with an owner and the condition for leaving Bitbucket. The step is done when the list is signed off and every team knows which system holds its code. It takes longer when long-lived release branches are still active, when Jira links or other Atlassian integrations depend on Bitbucket, or when the terms of the current Bitbucket contract are not yet confirmed.

  3. Set up Gerrit with SSO and mapped permissions

    Install Gerrit in your own environment, connect it to your identity provider for single sign-on, and map each Bitbucket permission to a Gerrit access right and a project approval rule. Gerrit's code is licensed under the Apache License, Version 2.0, so have legal confirm the terms before deployment, and install the current release from the Gerrit download page. The step is done when a pilot group signs in through SSO and the approval rules block submission of a change that lacks the required votes. It takes longer when identity groups are untidy, when approval rules differ from one repository to the next, or when audit logging must be designed from scratch.

  4. Mirror Git history and confirm LFS handling

    Clone each Bitbucket repository with all branches and tags, push it to its Gerrit project, and compare refs and commit counts on both sides until they match. Check each repository for Git LFS use, then confirm that LFS objects transfer and are served correctly in your Gerrit setup, because LFS content is handled outside plain Git history. Bitbucket Cloud limits a repository to 4 GB and recommends staying under 2 GB, so measure repository sizes first. The step is done when the comparison matches for every repository and a developer can clone and build from Gerrit. It takes longer for large repositories, heavy LFS use, or history that must be rewritten to remove oversized files.

  5. Export pull request and comment history

    Script exports of pull requests, reviewers, approvals, activity and inline comments through the Bitbucket API, and store them in an archive your team controls. The API allows 1,000 requests per hour for most authenticated resources, so plan the export around that pace. Confirm with the Gerrit community which import tools exist for Bitbucket review history before you decide whether history goes into Gerrit changes or stays in a read-only archive. The step is done when a sample from each repository has been checked by hand against Bitbucket. It takes longer as pull request volume grows, when comments refer to deleted users or attachments, or when the export runs close to the hourly limit.

  6. Rebuild CI triggers and replace Pipelines

    Replace each Bitbucket Pipelines configuration with jobs in your CI system, using the Gerrit integrations for Jenkins, GitHub Actions, Zuul or webhooks, depending on what your team already runs. Pipelines variables cannot be read back from Bitbucket, so re-enter each value from your own records and rotate any secret that was widely shared. The step is done when a test change triggers the new build, reports the result to Gerrit, and the team confirms that a failed build stops submission under the label rules. It takes longer when pipelines use custom images, self-hosted runners or many deployment environments, or when secret values exist nowhere outside Bitbucket.

  7. Pilot, run in parallel, then cut over

    Move one pilot team's repositories first and run both systems for an agreed period while new work goes to Gerrit. Log pilot issues in one list with owners, fix permission gaps, then migrate the remaining repositories in batches and set each Bitbucket repository to read-only as its batch finishes. Retire Bitbucket access when the contract ends, after the final export is stored and the archive has been opened and checked. The step is done when every repository has an owner in Gerrit, no team writes to Bitbucket, and the archive is verified. It takes longer when the pilot finds permission gaps, when teams share many repositories, or when the Bitbucket end date arrives before cutover is ready.

What buyers ask before moving from Bitbucket to Gerrit

What makes a Gerrit migration cost more or less?

The cost is the migration work plus the infrastructure and staff time you take on after cutover, and no single fixed figure applies. The main drivers are the number of repositories, total history volume (large repositories and LFS content take longer to move and verify), how many approval rules must be rebuilt in Gerrit's approval model, how many CI pipelines need rewiring to Jenkins, Zuul, GitHub Actions or webhooks, and the size of the Gerrit environment you run. One-time costs are inventory, mapping, migration, testing, cutover and training. Recurring costs are servers, storage, backups, upgrades and any support contract. Gerrit is licensed under the Apache License, Version 2.0, so the license itself carries no fee. If your builds use Bitbucket Pipelines runners, Atlassian's runner pricing charges $15 per month per concurrent build slot for premium self-hosted runners from runner version 5, announced on December 3, 2025. Ask any quote to split one-time and recurring costs by repository count, history volume, rules and CI.

How long does a Gerrit migration take?

The timeline is set in the written scope agreed before work starts, and it depends on the same drivers as cost: repository count, history volume, approval rules and CI rewiring. A typical scope runs through an inventory, a pilot on a few repositories, history import and verification, permission mapping, CI cutover and a period when both systems run in parallel. Each phase should name its owner, its entry and exit checks, and the change window it needs. Ask for the schedule phase by phase, with the dates that depend on your approvers and test users, because those inputs decide when each phase can start. No duration should be accepted until it appears in the signed scope.

What inputs must our team provide for a Gerrit migration?

The buyer needs named approval owners, admin and service accounts, read access to the repository inventory, a change window and test users. The main inputs are:

  • Named owners for each approval rule, who confirm which groups approve which branches and who can override a block
  • Admin accounts on Bitbucket and on the Gerrit host, plus a service account for export and import
  • Read access to the repository inventory, including projects, branch restrictions, default reviewers and CI hooks
  • A change window agreed with the teams that push code, with a freeze during final cutover
  • Test users in each group so permissions can be checked after cutover

Gather these before the scope is signed, because approval owners decide how permissions map and the change window decides when cutover can happen.

Can our internal engineers handle a Gerrit migration alone?

Yes, an internal team with solid Git, Linux operations and CI skills can move the repositories itself. The parts that need the most care are permission mapping and history export. Bitbucket's project and repository permissions do not translate one to one into Gerrit's fine-grained permission model, so a wrong mapping can expose code or block merges. Test the mapping with test users before cutover. Gerrit reviews work as patchsets, so pull request comments and review history need a separate plan, and you should confirm what review history can be imported. Git history moves by clone or mirror, including LFS objects if you use them, and the team should verify commit counts and tags on every repository. Consider an independent review of the permission mapping before cutover.

Does Gerrit Code Review also cover issues and wiki?

Confirm this before deciding, because the Gerrit project information describes code review features and does not establish that Gerrit hosts issue tracking or a wiki. The described features include inline comments, patchset management, configurable approvals, fine-grained permissions, a REST API, plugins and CI integrations. Ask the Gerrit Code Review maintainers or check the plugin list for issue and wiki support. If you use Bitbucket issues or wiki pages, plan a separate tool for them and export that data before your Bitbucket contract ends. Git history alone does not carry issues or wiki content.

What does Atlassian's Data Center end of life mean for renewals?

Atlassian's September 8, 2025 announcement sets March 28, 2029 as the end of life for its Data Center products, and states that new Data Center subscriptions end for new customers on March 30, 2026. Its journey-to-cloud page says Bitbucket Data Center will continue beyond 2029 and that existing customers can renew to a Bitbucket Hybrid License while their Data Center environments stay where they are. These statements read differently, so get the current position in writing from Atlassian before you sign. Ask for the license term, the support end date, whether the Hybrid License is included, and the price, since Bitbucket Data Center pricing is not published and Atlassian asks buyers to contact them.

How DeployOpen helps you evaluate, implement or move off Bitbucket

DeployOpen plans, implements, integrates, hardens, backs up, upgrades, documents and supports self-hosted open-source platforms inside your own infrastructure, so the choice between Bitbucket and self-hosted Gerrit Code Review can be tested against your own repositories, permissions and review workflows. Most engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts.

How we scope

  • The written scope lists which Bitbucket repositories, projects and review rules move, and which stay in place.
  • Map Bitbucket branch permissions and approvals to Gerrit's fine-grained permission model and approval processes.
  • Record the Bitbucket Cloud or Data Center version, plan and hybrid licensing status that the scope starts from.

How we build

  • Install Gerrit on your infrastructure, and have your legal team review its Apache License 2.0 terms.
  • Configure patchset-based review, inline comments and the approval rules your written scope defines.
  • Map Bitbucket Pipelines jobs to your chosen CI system, and document every secret that must be re-entered.

How we hand over

  • Deliver a runbook for Gerrit administration, including replication, backups and the procedure for upgrading Gerrit.
  • Document the review workflow, permission model and CI integration so your reviewers and auditors can follow them.
  • Provide a migration record listing repositories moved by Git mirror, open items not carried over, and their owners.

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers after the handover.
  • Confirm with the Gerrit project which release line, plugins and support options fit your environment before signing.
  • Confirm current Bitbucket Data Center and Hybrid License terms with Atlassian before any renewal decision.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.