Export (0) Print
Expand All

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 How to: Check In Pending Changes. The following procedure describes how to override a check-in policy during a check-in process.

NoteNote

The following procedure assumes you will be checking in items that are in violation of a policy set against your current team project.

Required Permissions

To perform these procedures, you must have the Check in permission set to Allow. For more information, see Team Foundation Server Permissions.

To override a check-in policy during check-in

  1. Perform a check-in; for more information, see How to: Check In Pending Changes.

  2. 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.

  3. Check-in the items that are in violation of a set policy. The Policy Failure dialog box appears.

  4. Check Override policy failure and continue check-in.

  5. In the Reason box, enter an explanation describing why you need to perform the check-in in violation of the set policy.

  6. Click OK.

See Also

Community Additions

ADD
Show:
© 2014 Microsoft