Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Close a work item via the commit message

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.

like image 928
qorsmond Avatar asked Apr 07 '16 07:04

qorsmond


People also ask

How do you close a work item in TFS?

To delete a single work item, open the work item, choose the Actions, and select Delete.

How do I mark a task complete in Azure DevOps?

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.

How do I log a bug in Azure DevOps?

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.


2 Answers

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

like image 89
southz rgw Avatar answered Oct 13 '22 22:10

southz rgw


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

like image 37
Eddie Chen - MSFT Avatar answered Oct 13 '22 22:10

Eddie Chen - MSFT