Search code examples
visual-studio-2015tfstfs-2015

TFS CheckIn Comment Template


I was searching for a way to set a default check-in comment in Visual Studio 2015.

More or less all I found was this 5 year old Question Team Foundation Server CheckIn Comment Template.

Is there a way I can prefill the Comment Section within the Pending Changes?

[ProjectName][Component]
[Features]

[Bug Fixes]

[Changes]

[Tests]

[Others]

And if there is a way to set it for my client, is there also a way of setting it for the all team members.

I really appreciate any help you can provide.


Solution

  • There is no build-in way to prefill the comment section within the pending changes.

    A workaround is creating your own custom check-in policy to do what you're looking for.First use the Check-In Policy that requires comments, and then take it one step further which require comments that include a specifically formatted string. Checking form check-in comments is not a complicated policy to create. Moreover, this is a way of setting for the all team members.

    Detail steps about how to create custom check-in policy please refer below tutorials: