Why Bitbucket to GitHub migrations stall, revisited: a year on, what moved and what didn't
Twelve months after the original seven-stall post, an updated field-grade take on where Bitbucket to GitHub programmes actually lose time: pipeline translation, identity, rulesets, OIDC, integration sprawl, LFS, and the audit trail now required to pass a DORA review.
A year ago we published a post on the seven hidden complexity sources that stall enterprise Bitbucket to GitHub migrations. Since then Bitbucket Server passed its end-of-support date, GitHub Enterprise Importer absorbed more Bitbucket Server scope, and we ran another forty-odd migrations across mid-size and large estates. Some of the stall points shifted shape. None of them went away.
This revisit covers what changed in the tooling, which stalls got worse, which got easier, and a revised planning split that reflects twelve months of field data. It assumes you have read the original and does not repeat the basics.
TL;DR
- Pipeline translation remains the single largest line item, 30-40% of the programme, even with LLM-assisted translation available.
- Rulesets have replaced classic branch protection as the default policy mechanism; migrating directly to rulesets is now less work than translating to classic protection and later converting.
- OIDC federation with cloud providers (AWS, Azure, GCP) is now the expected pattern. Carrying long-lived secrets across the migration is a decision you have to justify.
- Identity has forked into two modes: SCIM-provisioned classic accounts and Enterprise Managed Users. The choice has compliance consequences, not just operational ones.
- Webhook sprawl has gone down in absolute terms, replaced by a smaller set of GitHub Apps with broader permissions. The new risk is permission over-scoping.
- LFS is still the physics problem. GitHub's metered billing and the raw transfer time of hundreds of gigabytes per repository have not changed.
- The audit trail is now the gating item for DORA and SEC-regulated clients. Build it as you migrate, or you will not pass the review.
What changed in the tooling since late 2025
Three updates matter for planning.
GitHub Enterprise Importer (GEI) for Bitbucket Server. The Bitbucket Server to GitHub Enterprise Cloud path now carries pull requests with comments, reviews, required reviewers, and attachments for Bitbucket Server 5.14 and later, which removes a real pain point from the Server side of the estate. It still does not migrate branch permissions, webhooks, pipelines, secrets, or Git LFS objects. Teams that read "GEI now migrates pull requests" as "GEI now migrates the migration" are the same teams that stall at month four when they realise the other seven items are still manual work.
Rulesets reached feature parity with classic branch protection for most policy shapes and added capabilities classic protection never had, such as evaluate mode and org-wide application. For a new target in GitHub Enterprise Cloud, writing policies directly as rulesets is now less effort than migrating to classic branch protection first and then converting. Our rule-by-rule mapping post covers the translation; this changes the plan, not the mapping.
OIDC federation moved from "recommended" to "the pattern most new workflows use", with GitHub Actions OIDC supported across AWS, Azure, GCP, HashiCorp Vault, and most cloud secret managers. In Q4 2026, among estates we migrated, roughly two in three new workflows authored on the GitHub side ship with OIDC rather than long-lived secrets. That is a planning estimate from the migrations we ran, not a published statistic.
Pipeline translation: still the long tail, now with AI-assisted drafts
The 2025 post put pipeline translation at 35% of programme effort. Twelve months later that number has not moved. What changed is how teams get to a first-pass YAML.
LLM-assisted translation tools produce a plausible GitHub Actions workflow from a Bitbucket Pipelines YAML in minutes. For simple pipelines (lint, test, build, publish an artefact) the generated workflow runs on the first or second try. That covers the 60-70% of pipelines that live on the straight path.
The remaining 30-40% is where months still disappear:
- Custom Bitbucket Pipes rewritten as composite or JavaScript actions
- Matrix builds that relied on YAML anchors and have no direct Actions equivalent
- Self-hosted runner assumptions (filesystem paths, pre-installed tools, Docker-in-Docker, cached toolchains)
- Secrets injection patterns that do not translate when the plan is to move to OIDC at the same time
- Pipelines that call shell libraries stored in a shared Bitbucket repository, which have to be re-hosted or rewritten as reusable workflows
What to budget: treat an LLM draft as a 50-70% starting point. For actively-used pipelines allow 1-3 hours per pipeline for the mechanical fix after the draft, plus 1-2 days each for the 10-15% that need a real rewrite. On a 500-repo estate that still lands in the 1,200-2,500 engineering-hour range, as a field-observed planning estimate. The share of programme effort is unchanged; the clock speed is slightly better.
Identity: the SCIM vs. EMU fork is now a compliance decision
The original post treated identity as a redesign exercise. The decision tree has since split in two.
SCIM-provisioned classic accounts (SCIM docs) keep the user's personal GitHub.com identity. Open-source contributions under that identity continue to count. Governance is shared between the enterprise IdP and the user's personal account.
Enterprise Managed Users (EMU) (EMU docs) issues enterprise-owned accounts (username_shortcode) that cannot interact with public GitHub.com repositories under the same identity. Open-source contributions under the enterprise identity become impossible. Governance sits entirely with the enterprise.
The choice lands differently depending on the estate:
| Factor | SCIM classic accounts | Enterprise Managed Users |
|---|---|---|
| User contributions to public OSS counted | Yes | No (needs personal account) |
| IP leakage risk if user mixes personal and work | Moderate | Low |
| DORA and SEC audit stance | Acceptable with controls | Preferred |
| Migration effort from existing GitHub.com accounts | Lower | Higher: all users get new usernames |
| Suitability for heavily contribution-driven teams | Good | Friction-heavy |
Field-observed planning input, not vendor guidance.
Regulated clients (banks, insurers, public-sector) increasingly default to EMU after legal review. Product teams with substantial open-source presence weigh it hard. Decide this during the pilot phase, not during wave two, because the back-out cost is high.
Rulesets, not classic branch protection
In the 2025 post, branch protection, code-owners, and merge-policy parity sat at 8% of programme effort. Twelve months on, that number is roughly the same, but the shape has flipped.
Writing rulesets directly, scoped org-wide with per-repository overrides, is less work than translating each Bitbucket branch restriction to a classic protection rule on each repository. Rulesets also add two capabilities that materially help migrations:
- Evaluate mode. A ruleset can be enabled in evaluate mode first, logging violations without blocking, so the behaviour is observed before it blocks a developer at 4 pm on a Friday.
- Org-wide scope with granular targeting. One ruleset with a repository property filter replaces hundreds of per-repo classic protection rules.
What this changes in practice: for a 500-repo estate, migrating to rulesets rather than classic branch protection cuts the per-repo policy work by roughly half, as a field-observed planning estimate. The redesign work on the source side (enumerating what should actually be protected) does not change.
OIDC federation: not a nice-to-have anymore
A year ago we flagged secrets migration as 5% of effort and advised issuing net-new keys. The "keep the same secret, rotate the value" pattern is now the exception rather than the rule.
In regulated estates we see three patterns repeatedly:
- OIDC to the cloud provider for runtime secrets. The workflow federates to AWS, Azure, or GCP and reads secrets from the provider's secret manager. GitHub holds no long-lived cloud credentials.
- GitHub Actions environments with required reviewers for production deployments. The approval gate becomes the control, not a stored password.
- A secret store (Vault, Doppler, 1Password Secrets Automation) sits behind GitHub Actions, reached through a short-lived OIDC exchange.
Our secrets migration post covers the mechanics. The planning implication is that the secret migration line item has shifted from "re-key and re-scope" to "re-architect to OIDC during the move". The effort budget is similar (still around 5-7% of programme), but the deliverable is different, and the security team will care more.
Integration sprawl: fewer webhooks, more GitHub Apps
The 2025 post called out webhook sprawl as the item that surprises everyone. In 2026 the surprise moved. Most estates we see have fewer than half the webhooks per repository they had a year ago, because the ecosystem consolidated onto GitHub Apps (Jira Cloud for GitHub, SonarQube Cloud, Snyk, Mend, Datadog, Sentry, AI code review tools). The webhooks that remain are mostly internal, pointing at bespoke services.
The new risk is permission over-scoping. A GitHub App installed with "all repositories, write access to code and metadata" is a bigger blast radius than the webhooks it replaced. Every migration we run now includes an inventory step of installed Apps and a review of their scopes.
What to budget: 1 day per active integration for inventory + replacement + test (unchanged). Add half a day per installed GitHub App for a scope review, as a field-observed planning estimate.
LFS: still the physics problem
Nothing material has changed here. GitHub's metered LFS billing still bites at scale, transfer times still dominate the wave clock on LFS-heavy repositories, and the right answer is still: find the binary assets that should never have been in git in the first place and move them to artefact storage during the migration. Our LFS migration gotchas post covers the detail.
Budget unchanged: 2-3x the wall-clock of equivalent non-LFS repositories, scheduled for off-peak hours.
Audit trail: the item that passed from nice-to-have to gating
This is the stall source that grew the most in twelve months. DORA entered force in January 2025 for EU financial entities and their ICT third parties (DORA overview), and SEC cyber disclosure rules have been enforced through 2026. Auditors now ask for a continuous, timestamped chain of custody from source clone to production tag, not just evidence that controls existed during the window.
Concretely, every wave now has to produce:
- A signed manifest of what moved (repository list, commits at HEAD per branch, LFS object counts)
- Proof that branch protection or a ruleset was active on the target before the first PR could merge (enterprise audit log)
- A reconciliation report comparing source and target (refs, tags, protected-branch policy, open PR count)
- A signed acceptance by the receiving team
Budget: 8-12% of per-wave effort, up from 5-10%, as a field-observed planning estimate. Audit trail continuity during platform migration covers the mechanics.
A revised planning split
Taking the above into account, our current working split for a 500-2,000 repository Bitbucket to GitHub Enterprise Cloud migration:
| Category | 2025 % | 2026 % | Change |
|---|---|---|---|
| Discovery, inventory, planning | 10% | 10% | Unchanged |
| Access redesign (SCIM or EMU) | 10% | 11% | +1% (EMU choice adds work) |
| Pipeline translation | 35% | 33% | -2% (LLM drafts help) |
| Rulesets + code-owners | 8% | 6% | -2% (rulesets faster than classic) |
| Secrets + OIDC re-architecture | 5% | 7% | +2% (OIDC redesign) |
| Integrations (webhooks + Apps) | 12% | 10% | -2% (fewer webhooks) |
| LFS / binaries | 5% | 5% | Unchanged |
| Audit + evidence | 8% | 11% | +3% (DORA, SEC) |
| Repository git-move + cutover | 7% | 7% | Unchanged |
These percentages are a planning split from twelve months of field work, not measured programme accounting. The actual distribution varies with estate size, pipeline quality, and regulatory exposure. Validate on a pilot.
The git move is still about 7%. Pipeline translation is still the biggest single item. Audit evidence grew the most and is the one that catches regulated clients off guard most often.
How Shyftport handles this
Shyftport continues to treat Bitbucket to GitHub migration as a programme, not a code move. On the Bitbucket to GitHub path the platform inventories the estate, moves repositories as full git mirrors in checkpointed, resumable runs, recreates open pull requests with original author attribution, matches users to GitHub organisation members for review, and translates Bitbucket Cloud branch restrictions into GitHub rulesets created in evaluate mode. Runs produce the signed manifests and reconciliation reports that DORA and SEC auditors now ask for, so the evidence pack falls out of running the migration rather than being compiled after the fact. The capability matrix lists what is carried for your exact source and target editions, and what is scoped as programme work. If you have read both this post and the original and the shape of your migration starts to feel familiar, talk to a Shyftport engineer.
Sources
- About GitHub Enterprise Importer(accessed 2026-11-23)
- Migrating from Bitbucket Server to GitHub Enterprise Cloud(accessed 2026-11-23)
- About rulesets - GitHub Enterprise Cloud Docs(accessed 2026-11-23)
- About security hardening with OpenID Connect - GitHub Actions(accessed 2026-11-23)
- About billing for Git Large File Storage - GitHub(accessed 2026-11-23)
- About the audit log for your enterprise - GitHub Enterprise Cloud(accessed 2026-11-23)
- Configuring SCIM provisioning for users - GitHub Enterprise Cloud(accessed 2026-11-23)
- About Enterprise Managed Users(accessed 2026-11-23)
- Digital Operational Resilience Act (DORA) - EIOPA overview(accessed 2026-11-23)
FAQ
- What has actually changed since the original seven-stall post?
- Three things in the tooling landscape: GitHub Enterprise Importer's Bitbucket Server path matured, GitHub rulesets became the default policy mechanism and are now preferred over classic branch protection, and OIDC federation with cloud providers moved from a nice-to-have to the expected pattern for new GitHub Actions workflows. The seven original stall sources did not go away. Pipeline translation, identity, and the audit trail still dominate the budget; the shapes have shifted, not the proportions.
- Is pipeline translation still the biggest line item?
- Yes. In roughly 40 migrations observed over the last twelve months, as a planning estimate pipeline translation remained 30-40% of total effort. LLM-assisted translation tools produce a first-pass YAML quickly, but the long tail of pipelines (custom actions, matrix builds, runner assumptions, caching) still needs a human to make it green. Treat AI-assisted translation as a 50-70% draft, not a finished product.
- Do we need Enterprise Managed Users (EMU) or can we use SCIM-provisioned classic accounts?
- It depends on who is in the identity domain and what the compliance stance is. EMU gives centralised identity and prevents users from touching public GitHub.com with the enterprise identity, at the cost of losing contributions to external open-source projects under that account. SCIM-provisioned classic accounts preserve those contributions but allow the user's personal account to coexist. Regulated industries increasingly default to EMU; product teams with heavy open-source contribution weigh the trade-off carefully.
- What should we budget for audit evidence now that DORA is in force?
- As a planning estimate, add 8-12% to the per-wave effort for evidence collection, up from the 5-10% we quoted a year ago. DORA's ICT risk management and incident reporting requirements, combined with the SEC's cyber disclosure rules, mean auditors now ask for a continuous, timestamped chain of custody from source clone to production tag. Build the evidence pack as you migrate, not after.
Related reading
Why Bitbucket → GitHub migrations stall: 7 hidden complexity sources
Most enterprise Bitbucket-to-GitHub migrations don't fail because of git or repository volume. They stall because of seven specific categories of hidden complexity that nobody scopes upfront.
Rewriting Bitbucket Pipelines as GitHub Actions: the hidden effort behind the YAML
Mechanical YAML translation gets you part of the way. The rest is reading what each pipeline actually does, why your team built it that way, and rebuilding it without the institutional knowledge that left with the original author.
Secrets migration: Bitbucket variables to GitHub OIDC, and the credentials you stop storing
Bitbucket workspace variables are a translation task. GitHub OIDC federation turns the migration into a chance to delete whole classes of long-lived credentials. Here is the model we recommend for cutovers where OIDC is on the table.
Audit-trail continuity during a platform migration: what auditors ask, and what actually survives
SOC 2 and ISO 27001 assume a continuous audit trail. A platform migration breaks that assumption in specific, avoidable ways. What survives, what does not, and how to preserve the record without freezing the migration.
Git LFS migration: the gotchas that bite between the pointer file and the blob
Planning a Git LFS move between hosts is not the same as moving a Git repo. A practical guide to the pointer/blob split, quota walls, mirror commands that drop blobs, and cutover patterns that don't leave the new host with unresolvable pointers.