Connecting Azure DevOps

An Azure DevOps connection is an organization URL plus a token, shared across the projects you attach from it. Work items feed the board on their own; PR and commit intelligence is a separate, explicit opt-in per project.

deckgauge · Add source · Azure DevOps
Payments-Platform code intelligence
Pull requestsCommits
ONON
Repos: payments-api, payments-workerAll repositories: off

Code-sync scope on an attached ADO project — explicit repos, not a pattern.

What it does, and where the data comes from

FieldValue
Organization URLhttps://dev.azure.com/your-org
Auth methodPAT (token only) or BASIC (username + token)
Access tokenScoped to Code (Read), Work Items (Read), and Project & Team (Read)
ProjectDiscovered live from the organization once the token tests successfully

How to connect Azure DevOps

  1. Create a PAT under User settings → Personal access tokens with the read scopes above.
  2. Add source → Azure DevOps — set the organization URL, choose PAT or BASIC, paste the token, and test.
  3. Pick the project from the discovered list.
  4. On the board's Source zone, turn on Feed work items to board, and separately, Use for code intelligence if you want PR/commit data.

What syncs

Work items sync per project whenever the project is attached — that part isn't opt-in. PR and commit intelligence is: useForIntelligence must be turned on for the board source, and the underlying project sync must have Pull requests and/or Commits switched on, scoped to either an explicit, named repo list or an explicit All repositories toggle.

Alongside name, status, owner and description, a work item's Due Date (Microsoft.VSTS.Scheduling.DueDate) is written onto the board row's Due date field on every sync. As with the other synced fields, editing it by hand takes that one field out of sync's control until you revert it — see Manual edits.

Strict opt-in, no wildcardThere's no glob or pattern syntax for repo scope — you either type out the repos you want (repo1, repo2) or flip the distinct All repositories switch. A newly attached project starts with PR sync, commit sync, and the all-repos switch all off; nothing gets pulled for intelligence until you turn each of them on deliberately. The repo-sync scope is shared — changing it on one board's source changes it for every board using that Azure DevOps project.

Under the hood

Both auth methods send HTTP Basic under the hood: PAT sends the token with an empty username; BASIC sends your entered username and the token as the password. The connection test hits /_apis/projects?$top=1, so a working test only confirms the token can list projects — not that it also has the Code and Work Items scopes PR/commit intelligence needs.

If it looks wrong

SymptomCauseFix
Connection test passes but no PRs/commits appearPR/commit intelligence is opt-in and defaults offTurn on Use for code intelligence and the project's PR/commit toggles
Only some repos show PR dataRepo scope is an explicit list, not a patternAdd the missing repo names, or switch on All repositories
Work items sync but 401 shows on the code sideToken lacks the Code (Read) scope even though Work Items (Read) worksReissue the PAT with all three read scopes

Related

Last updated