tfscheckin-policy

How to configure person to be notified if any check-in policy was avoided in TFS?


We are using TFS 2008 and switched on "Work Items" check-in policy (requirement to assosiate check-in with 1 or more work items).

In this case developers still have an option to avoid following policy: they could mark “Override policy failure and continue checkin” check box and do commit without associating check-in to any work item.

AFAIK, email should be send to TL/TFS administrator about this.

How can I manage email recipients?

Thanks.


Solution

  • To configure the email for check-in policy override, you have to install the Team Foundation Server 2008 Power Tools, It will add the Alerts Explorer option to Team Menu in Visual Studio Client.

    Go to Team -->Alert Explorer, Click on New Alert-->Check in Alerts-->Check-In to specific folder with policy override-->Click OK.

    enter image description here

    It will show the Alert Definition tab which will have a send to option where you can add the required email recipients.

    enter image description here