Keeping Azure Boards after moving code to GitHub: AB# links, limits and setup
You can keep Azure Boards when repositories move to GitHub. AB# mentions in commit messages, pull request descriptions and issue descriptions link to work items, a repository connects to one project, and old Azure Repos links stay behind.
Yes, you can keep Azure Boards when your repositories move to GitHub: Microsoft ships an Azure Boards and GitHub integration, and a developer links a commit or pull request to a work item by writing AB# and the work item ID. What Microsoft does not document is any conversion of the links you already have: work item links to Azure Repos commits, branches and pull requests are separate link types, so they keep pointing at Azure Repos.
This post is for platform teams moving Git from Azure Repos to GitHub while planning stays in Azure DevOps. It covers how the connection works in November 2026 according to Microsoft Learn and GitHub Docs, the documented limits, exactly where AB# works, what Microsoft shipped in 2025 and 2026, and what to do about existing links at cutover.
TL;DR
- Azure Boards connects to GitHub.com, GitHub Enterprise Cloud with data residency and GitHub Enterprise Server. For GitHub.com, Microsoft recommends the Azure Boards app for GitHub.
- A GitHub repository can be connected to only one Azure DevOps organisation and project. An Azure DevOps Services connection holds up to 2,000 repositories.
AB#123creates a link from a commit message, a pull request description or an issue description. In a pull request title or a comment it does not.Fixes AB#123moves the work item to a Resolved (or, failing that, Completed) state, but only when the pull request merges into the default branch.- A token (PAT) connection does not support pull request status checks or the GitHub Copilot integration. Both need the GitHub App.
- Existing Commit, Branch and Pull Request links on work items are Azure Repos link types. No documented step rewrites them to GitHub. Keep the old repository readable, or re-link what matters.
- Shyftport validates the repository to project mapping and can write a GitHub
AB#autolink (behind a deployment gate, off by default). The customer creates the Azure Boards connection, and work items are not migrated to GitHub Issues on this path.
Why keep Azure Boards at all?
Because the repository move and the work-tracking move are separate projects. A git mirror carries commits, branches and tags; work items carry revision history, custom fields and process rules that do not travel with git. We covered that fidelity problem in what survives a work item migration and what silently does not.
Both vendors document the hybrid state as supported. GitHub's migration guide says: "Both Azure Pipelines and Azure Boards can be fully integrated with your GitHub experience" (GitHub Docs). Microsoft's Enterprise Live Migrations preview describes the same choice as "a hybrid model where source code moves to GitHub while teams continue using Azure Boards and Azure Pipelines" (Microsoft Learn). If you are still deciding which pieces to move, start with the Azure DevOps vs GitHub comparison and the list of what changes in Azure DevOps Repos to GitHub Enterprise. Pipelines raise the same question, covered in keeping Azure Pipelines with GitHub repositories.
How does the Azure Boards and GitHub connection work?
The connection is made per Azure DevOps project, under Project settings > GitHub connections, and it attaches GitHub repositories to that project. Only connected repositories can be linked to work items.

GitHub App, OAuth or personal access token?
Microsoft's guidance for GitHub.com is direct: "If you want to configure and manage your connections to GitHub.com, use the Azure Boards app for GitHub", because it authenticates "as the app rather than an individual" (overview). The connection page lists the options for GitHub.com and GitHub Enterprise Server on Azure DevOps Services; the data residency row comes from the release notes:
| GitHub platform | Documented authentication options | Notes from the docs |
|---|---|---|
| GitHub.com | GitHub.com user account (recommended), personal access token | First-time connections end with Approve, Install, & Authorize for the Azure Boards app |
| GitHub Enterprise Cloud with data residency | Connection option of that name, then the https://organization.ghe.com URL |
Added in the Sprint 260 release notes, August 2025 |
| GitHub Enterprise Server | OAuth (preferred, registration required), personal access token, GitHub credentials | The server "must be accessible from the Internet" for Azure DevOps Services |
Token connections have two limits that matter here. The connection page states that PAT connections, including fine-grained ones, do not support "Pull request status checks, which require a GitHub App connection", nor the GitHub Copilot integration with Azure Boards. If a repository is already connected through another authentication type, the app installation page says you must remove it from that connection before reconnecting it through the GitHub App.
Who has to do it?
Administrators on both sides. The documented prerequisites are membership of the Project Collection Administrators group in Azure DevOps, and an administrator or owner of the GitHub organisation to install the Azure Boards app. If the GitHub organisation restricts third-party application access, the app has to be approved there too, otherwise "adding repositories from Azure DevOps can show an empty list or produce an error".
Which project can a repository connect to, and what are the limits?
The documented limits, all from the Microsoft Learn overview and connection pages:
- One repository, one project. "You can connect a GitHub repository to only one Azure DevOps organization and project."
- Never two organisations. Work item IDs are not unique across Azure DevOps organisations, so
AB#12"could match a work item in either organization". The docs add that the Azure Boards app for GitHub prevents connections to multiple organisations. - 2,000 repositories per connection. "Azure DevOps Services supports up to 2,000 GitHub repository connections per connection." The Sprint 269 release notes (February 2026) raised the limit in the web experience to that figure.
- One GitHub organisation per connection. "Each connection supports only one GitHub organization. To connect repositories from another organization, add a separate connection."
- No query on GitHub links. "You can't query for work items with links to GitHub artifacts", although you can query for
External Link Count > 0.
The first limit is the one that bites during a migration. An Azure Repos repository lives inside a project, so the mapping is implicit. A GitHub organisation has no such level, and every repository in it still has to be attached to exactly one project for AB# to resolve predictably.
Where exactly does AB# work?
The linking page is specific. To create a link, "Add AB#{ID} to a commit message, pull request description, or issue description." And the exclusion: "Using AB#ID in a comment or in a pull request title doesn't create a link on the work item."
Adds retry to the export job, AB#4312
Fixes AB#4312
Fixes AB#4312, Fixes AB#4313
The first line links work item 4312 with no state change. The second also requests a transition. The third transitions both items; the keyword is repeated because, per the docs, Fixes AB#123, AB#124, and AB#126 links all three but "Transitions only the first item".
State transition keywords and their limits
Azure Boards recognises fix, fixes and fixed, plus a state name or state category written before the reference, such as Closed AB#1234. The documented rules:
- By default,
fix,fixesandfixedmove the work item "to the first state associated with the Resolved category". If the process has no such state, the first state in the Completed category is used. - A name that is not a state is matched against a workflow category such as Resolved or Completed. For
Closed AB#123with no Closed state defined, the documented result is "no transitions are made". - "State transition rules don't apply unless the pull request is merged into the default branch." A pull request into a release branch still links, but it does not move the work item.
What do you see on the work item?
The Development section of the work item lists linked GitHub commits and pull requests. The same Microsoft Learn linking page documents these additions:
- Automatic link updates. A pull request created from a linked branch is linked automatically, the merge commit is linked after the merge, and the branch link is removed when the branch is deleted.
- Pull request insights. Draft status, review status and Checks status appear next to the linked pull request, once the Azure Boards app's updated Checks permissions are accepted in GitHub.
- Build links. For Azure Pipelines YAML building a GitHub repository, enabling Automatically link new work items in this build in the pipeline settings creates Integrated in build links on the associated work items.
- Branch from a work item. New GitHub branch creates the branch in the chosen repository and links it.
What changed in 2025 and 2026?
Checked against the Azure DevOps release notes on 10 November 2026:
- August 2025, Sprint 260: Azure Boards and Azure Pipelines gained support for GitHub Enterprise Cloud organisations with data residency, through a dedicated connection option.
- February 2026, Sprint 269: the Azure Boards integration with GitHub Copilot gained custom agent selection when creating a pull request from a work item, and the per-connection repository limit went to 2,000.
- July 2026, Sprint 277: pull request annotations on board cards, enabled by default.
- Enterprise Live Migrations (preview): Microsoft's own migration tool, from Azure DevOps Services to GitHub Enterprise Cloud with data residency lists "Creates a boards connection" among the steps it automates, and lists work items among the data it does not migrate.
What do GitHub autolink references add?
Autolinks are a GitHub repository setting, independent of Azure Boards. GitHub Docs describes them as a way for repository admins to "link issues, pull requests, commit messages, and release descriptions to external third-party services". You define a reference prefix and a target URL containing <num>; prefixes in one repository cannot overlap. Availability: "Autolinks are available in repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server."
Through the REST API, an autolink is three fields. With is_alphanumeric set to false the reference "only matches numeric characters", which fits work item IDs:
POST /repos/{owner}/{repo}/autolinks
{
"key_prefix": "AB#",
"url_template": "https://dev.azure.com/<organisation>/<project>/_workitems/edit/<num>",
"is_alphanumeric": false
}
Keep the two mechanisms apart. An autolink turns matching text on GitHub into a hyperlink to the URL you configured. It is not what places a GitHub commit or pull request in a work item's Development section: Microsoft's link type reference states that "You can only link to GitHub artifacts for repositories connected to Azure Boards". The URL template also names one organisation and one project, which is the one-repository-to-one-project constraint again.
What breaks at cutover: existing links do not follow the code
Azure Boards has two families of code links. The link type reference lists Branch, Commit, Pull Request and Tag as external link types, which "link work items to other objects stored within Azure DevOps". Links to GitHub are a separate family: GitHub Commit, GitHub Issue and GitHub Pull Request. A work item that was linked to an Azure Repos commit in 2023 therefore holds a pointer to that Azure Repos object. Mirroring the repository to GitHub creates the same commits there, but none of the Microsoft Learn pages cited here describes converting one link type into the other.

| Link type | Before migration | After migration | Action |
|---|---|---|---|
| Commit (Azure Repos) | Opens the commit in Azure Repos | Still points at Azure Repos | Keep the old repository readable, or add a GitHub Commit link from the work item for items that matter |
| Branch (Azure Repos) | Opens the branch in Azure Repos | Still points at Azure Repos | Create or link a GitHub branch for work in progress |
| Pull Request (Azure Repos) | Opens the pull request in Azure Repos | Still points at Azure Repos | Decide how pull request history is kept; link the GitHub pull request for open work |
| Integrated in build | Created by builds of the Azure Repos repository | Available for YAML pipelines that build GitHub code | Enable automatic work item linking in each pipeline's settings |
#123 in a commit message |
Links the commit to work item 123 when commit mention linking is on | On GitHub, #123 refers to an issue or pull request |
Teach AB#123; update commit templates |
| Parent, Child, Related | Work item to work item | Unchanged | None, work items do not move |
| GitHub Commit, GitHub Pull Request | Do not exist | Created by AB# or added from the work item |
Connect the repository before the first push |
Three consequences follow from these mechanics.
The old repository is now part of your traceability. The links are only as available as the Azure Repos objects they point at. Azure Repos has a Disable Repository setting which, per the repository settings page, "disables access to the repository, including builds and pull requests, but keeps the repository discoverable with a warning". If the source stays live for a while, see repository mirroring from Azure DevOps to GitHub.
The mention syntax changes meaning. In Azure Repos, with commit mention linking enabled, a commit message containing # and a valid work item ID links the commit to that work item. On GitHub, # and a number is the reference syntax for an issue or pull request. Microsoft's own example shows the split: Fixing multiple bugs: issue #123 and user story AB#234 "Links to GitHub issue 123 and Azure Boards work item 234".
Migration tools differ on pull request links. GitHub Enterprise Importer lists "Work item links on pull requests" among the data it migrates from Azure DevOps. Confirm on a trial run how those appear for your repositories, and do not assume another tool carries them unless it says so.
For re-linking, Azure Boards supports adding a GitHub commit, pull request or branch link from the work item's Development section, provided the repository is connected to the project. That is a manual, per-item action. How this fits the overall schedule is covered in how long an Azure DevOps to GitHub migration takes.
A cutover checklist for Boards linking
- Decide, per GitHub repository, which single Azure DevOps project owns it.
- Have a GitHub organisation owner or administrator install and approve the Azure Boards app, and a Project Collection Administrator create the connection in each project.
- Check that the Azure Boards user has View and Edit work items in this node on the relevant area paths, which Microsoft tells you to verify when
AB#mentions do not link. - Test one commit message, one pull request description and one
Fixes AB#merge into the default branch. - Enable automatic work item linking on YAML pipelines that build from GitHub.
- Decide how the Azure Repos source is frozen and tell teams where old links lead.
How Shyftport handles Azure Boards linking
On the Azure DevOps to GitHub path, Shyftport treats Azure Boards as staying in Azure DevOps. Work items, backlogs, boards, queries and process templates are not moved to GitHub Issues or Projects on this path. The Boards section exists to check that GitHub development activity can link to the correct work items.
What it does:
- Validates the mapping. Shyftport checks that each GitHub repository maps to exactly one Azure DevOps project for Boards linking and flags conflicts. A repository claimed by more than one project blocks until an owner is chosen.
- Checks readiness, read-only. The assessment covers whether a Boards to GitHub connection is present for the right organisation and project, and whether an
AB#autolink is absent, ready or in conflict. The validation screen lists six checks for one project; in the sample below five pass and one is a warning, because pull request titles and comments are not supported reference surfaces.

- Can write the GitHub
AB#autolink. The target is the owning project's work item URL. An existing conflictingAB#autolink is replaced only with explicit confirmation, and the result is read back. This write sits behind a deployment gate that is off by default; with the gate closed the section is read-only.
What it deliberately does not do:
- It does not create the Azure Boards connection. Creating the Azure Boards to GitHub connection and installing or approving the app is done manually by the customer, in Azure DevOps and GitHub. The setup screen is a checklist around that manual step.
- Two link surfaces. Shyftport's supported reference surfaces are
AB#<id>in a commit message and in a pull request description. Pull request titles and comments are treated as unsupported. - Cloud source only. Boards linkage is available for Azure DevOps Services sources, not Azure DevOps Server.
- Existing work item links are not rewritten. Shyftport recreates open pull requests on GitHub and keeps closed ones as a historical record (as issues), but it does not carry work item links on pull requests.
The full list of what runs on this path is on the capabilities page, and the end-to-end sequence is in the Azure DevOps to GitHub migration guide. If you are planning a repositories-first move and want the Boards mapping checked before cutover, talk to a Shyftport engineer.
Sources
- Azure Boards integration with GitHub (overview, features, restrictions) - Microsoft Learn(accessed 2026-11-10)
- Link GitHub commits, PRs, branches, and issues to work items - Microsoft Learn(accessed 2026-11-10)
- Connect an Azure Boards or Azure DevOps project to a GitHub repository - Microsoft Learn(accessed 2026-11-10)
- Install the Azure Boards app for GitHub - Microsoft Learn(accessed 2026-11-10)
- Link types reference guide - Azure Boards - Microsoft Learn(accessed 2026-11-10)
- Set Git repository settings - Azure Repos - Microsoft Learn(accessed 2026-11-10)
- Azure DevOps release notes, Sprint 260: Boards and Pipelines integration with GitHub Enterprise Cloud with data residency(accessed 2026-11-10)
- Azure DevOps release notes, Sprint 269: Copilot custom agents and increased limit for connected GitHub repositories(accessed 2026-11-10)
- Azure DevOps release notes, Sprint 277: pull request annotations on board cards(accessed 2026-11-10)
- Introduction to Enterprise Live Migrations (ELM) - Microsoft Learn(accessed 2026-11-10)
- Configuring autolinks to reference external resources - GitHub Docs(accessed 2026-11-10)
- Understand migrations from Azure DevOps to GitHub - GitHub Docs(accessed 2026-11-10)
- Autolinked references and URLs - GitHub Docs(accessed 2026-11-10)
- REST API endpoints for repository autolinks - GitHub Docs(accessed 2026-11-10)
FAQ
- Can we keep Azure Boards if our repositories move to GitHub?
- Yes. Microsoft documents an Azure Boards and GitHub integration for GitHub.com and GitHub Enterprise Server, and GitHub's own migration guide says Azure Boards can keep working with repositories hosted on GitHub. You connect the GitHub repositories to an Azure DevOps project, and developers reference work items with AB# followed by the work item ID.
- Where does AB# create a work item link, and where does it not?
- According to Microsoft Learn, AB# followed by a work item ID creates a link when it is in a commit message, a pull request description or an issue description. The same page says that AB# in a comment or in a pull request title does not create a link on the work item.
- Can one GitHub repository be connected to several Azure DevOps projects?
- No. The documented restriction is that a GitHub repository can be connected to only one Azure DevOps organisation and project. In the other direction, an Azure DevOps Services project can connect up to 2,000 GitHub repositories per connection, and each connection supports one GitHub organisation.
- What happens to existing work item links to Azure Repos commits and pull requests?
- Going by the documented link types, they stay where they are. Commit, Branch and Pull Request links on a work item are Azure DevOps link types that point at objects in Azure Repos, while links to GitHub use separate GitHub Commit and GitHub Pull Request link types. The Microsoft Learn pages cited in this article describe no step that converts old links when the code moves, so they keep pointing at the Azure Repos repository, while GitHub links come from AB# mentions or are added from the work item.
Related reading
Azure DevOps Repos to GitHub Enterprise: what actually changes around the git
The repository move is a git push. The surrounding platform (identity, permissions, branch policies, work-item linking, service hooks, audit logs) is not. Here's the delta you have to design around when leaving Azure DevOps Repos for GitHub Enterprise.
Azure DevOps to Azure DevOps: process models and mapping work item types, states and fields
Work items only land cleanly in another Azure DevOps organisation if the target process defines their types, states and fields. How the three process models differ, what rule bypass does not do, and a mapping method.
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.