AZ-400 · Question #548
You manage a project by using Azure Boards. You manage the project code by using GitHub. You have three work items that have IDs of 456, 457, and 458. You need to create a pull request that will be li
The correct answer is C. Fixes #AB456, #A8457, #A8458. Explanation Option C is correct because when linking GitHub commits/pull requests to Azure Boards work items (as opposed to GitHub Issues), you must use the #AB prefix before the work item ID - this prefix specifically tells GitHub to reference an Azure Boards item rather than a
Question
Options
- ADone #456, #457, #458
- BFixes #456, #457, #458
- CFixes #AB456, #A8457, #A8458
- D#AB456, #AB457, #AB458
How the community answered
(30 responses)- A13% (4)
- B7% (2)
- C77% (23)
- D3% (1)
Explanation
Explanation
Option C is correct because when linking GitHub commits/pull requests to Azure Boards work items (as opposed to GitHub Issues), you must use the #AB prefix before the work item ID - this prefix specifically tells GitHub to reference an Azure Boards item rather than a GitHub Issue. Additionally, using "Fixes" as the keyword automatically transitions the linked work item (456) to a Done state upon merge.
- Option A is wrong because "Done" is not a valid GitHub keyword that triggers a state transition, and it also lacks the required #AB prefix for Azure Boards items.
- Option B is wrong because while "Fixes" is the correct keyword, the IDs use plain #456 format, which would reference GitHub Issues - not Azure Boards work items.
- Option D is wrong because although #AB prefixes are correctly used, there is no action keyword (like "Fixes"), so no state transition to Done would occur for work item 456.
Memory Tip: Think "AB = Azure Boards" - whenever your work items live in Azure Boards (not native GitHub Issues), always add the
#ABprefix. Pair it withFixesto auto-close/complete an item, just like you'd useFixes #123for GitHub Issues.
Topics
Community Discussion
No community discussion yet for this question.