A developer wants a commit and its pull request to appear automatically in the Development section of the related Azure Boards work item, without anyone copying links. What is the standard approach?
Show answer and explanation
Answer: D
Azure Boards recognizes AB# followed by a work item ID in commit messages and in pull request titles or descriptions, once the GitHub repository is connected to the Azure DevOps project. The linked commit and pull request then appear in the work item's Development section automatically. Manual URL pasting is error-prone and does not produce native links. A custom polling function reimplements a built-in capability and adds maintenance. Emailing a number creates no link in the tracking system at all.
Why the other options are wrong
- A. Manual URL pasting depends on someone remembering every time and does not produce the Development section links. It is easy to miss and leaves the link record incomplete.
- B. A custom polling function reimplements an existing built-in link and must be maintained. It also writes noisy comments rather than the native development links.
- C. Emailing a work item number creates no link in the tracking system, so the work item never reflects the commit or pull request automatically.