How to: Override a Check-in Policy
Team Foundation source control functionality includes customizable check-in policies. These check-in policies require the user to take actions when conducting a check in to source control; for example a user can be required to associate a work item with the changeset. For more information on check-ins, see . The following procedure describes how to override a check-in policy during a check-in process.
The following procedure assumes you will be checking in items that are in violation of a policy set against your current team project.
To perform these procedures, you must have the Check in permission set to Allow. For more information, see.
To override a check-in policy during check-in
Perform a check-in; for more information, see.
Click the Policy Warnings channel to view the policies in place for your team project. For example, the policy constraint “You must associate your changes with one or more work items” prevents users from submitting changes without having a specific bug or feature for which they are submitting a change.
Check-in the items that are in violation of a set policy. The Policy Failure dialog box appears.
Check Override policy failure and continue check-in.
In the Reason box, enter an explanation describing why you need to perform the check-in in violation of the set policy.