Launch price: every exam for $29.99 a year, for the first 300 buyers. See the price

CertStreak
Menu

Configure integration between Azure Boards and GitHub repositories by using MCP

A worked example

Match

You are composing Azure DevOps MCP requests to link work item 312 in project Storefront to artifacts in the GitHub repository fabrikam/store. The repository is connected to the project, your account has Contributor access to both, and the required MCP linking tools are enabled.

Match each resource to its reference using the formats shown in the MCP linking examples.

  • Correct match: AB#312.

    The MCP examples use AB# followed by the work item number for the Azure Boards resource. A repository-qualified reference such as fabrikam/store#42 identifies the GitHub artifact instead.

  • Correct match: fabrikam/store#42.

    The pull request example combines the repository name, #, and pull request number. The repository@SHA form is used for a commit instead.

  • Correct match: fabrikam/store@9f4c2a1b7d8e6f0031a5b9c2d4e6f8a012345678.

    The commit example places @ between the repository name and commit SHA. The repository#number form identifies a pull request in the other linking example.

Why

The MCP examples distinguish the Azure Boards work item reference from the GitHub artifact reference. They use AB# for the work item, repository#number for the pull request, and repository@SHA for the commit.

The unused option, AB#42, does not match any of these items: it refers to an Azure Boards work item numbered 42, which is not one of these resources.

Practise this topic until it's automatic.

Ten questions a day, every answer explained, and misses that come back until you beat them.

Start free