问题
I know that you can link workitem with #1234
commit message syntax.
Is there a way to change work item status that way. Say, resolve it?
回答1:
There is not currently a way to do this. I would however expect to see these kind of things comming down the line as MS has committed to feature parity, where possible with TFVC.
回答2:
As this article says, we can use #ID
to link to work items.
回答3:
Finally it works!
Using the keyword fix
, fixes
or fixed #ID
will close the workitem but you need to activate this feature.
Detailed instructions: https://docs.microsoft.com/de-de/azure/devops/repos/git/resolution-mentions?view=azure-devops
来源:https://stackoverflow.com/questions/25267191/tfs-git-commit-change-work-item-status