Is there a way to close a work item using the commit message using VSTS? I tried: Fixes #123, Closes #123, or Resolves #123 but that only associates the commit to the work item.
So basically I am looking at closing issues via commit messages like in github: https://help.github.com/articles/closing-issues-via-commit-messages/ But using vs team services.
To delete a single work item, open the work item, choose the Actions, and select Delete.
To mark a task as complete, check the task checkbox. The task State changes to Done. To reorder a task, drag it within the checklist. To reparent a the task, drag it to another issue on the board.
Add or capture bugs You can define bugs from several different Azure DevOps tools. These include backlogs and boards and testing tools. By default, the Title field is the only required field when creating a bug. You can quickly add bugs in the same way you add user stories or product backlog items using Azure Boards.
Finally in 2019 they implemented this as a a light version of gitlab.
Using the keyword fix
, fixes
or fixed #ID
will close the Workitem.
Detailed instructions: https://docs.microsoft.com/de-de/azure/devops/repos/git/resolution-mentions?view=azure-devops
No, there isn't any way to do this for now.
Similar question: TFS git commit change work item status
Feature request on VSTS User Voice: Update work items on commit for git
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With