0

Is it possible to force a developer when committing work through Visual Studio to link a work item (Bug, Task, Product Backlog)?

I can see I can link with a '#' in the git commit comments but would like this to be mandatory on all commits? i.e. the commit will fail if not linked to a work item?

David
  • 1

1 Answers1

0

It is possible on the pull request level. You may add the branch policy to require linked work items: Check for linked work items

enter image description here