You manage project code in Azure Repos and have a bug work item with ID 123. To set the work item's state to Resolved via a commit message, what text should you include in the commit message?
Choose an answer
Tap an option to check your answer.
Correct answer: Fixes #123.
Why this is the answer
The correct commit message to transition a work item to a 'Resolved' state is "Fixes 123". Azure DevOps recognizes specific keywords like "Fixes", "Closes", or "Resolves" followed by the work item ID to automatically update its state upon commit. This automation streamlines the development workflow by linking code changes directly to work item status. "Completed 123" and "123 completes" are not recognized keywords for state transitions. While they might appear semantically similar, Azure DevOps requires specific predefined terms for automated actions. "123 Resolved" is also not a recognized keyword; the system looks for action-oriented verbs like "Fixes" to trigger state changes.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed