Azure DevOps Check-in Policies

Common Check-in policies on TFVC / Azure DevOps.

Contents

Require associated work items on Check-in

To require associated work items on each check-in,

  1. On Visual Studio, open Team Explorer.

  2. Go to Project > Settings > Source Control.

    Settings

    SourceControl

  3. Go to the Check-in Policy tab and click Add.

    CheckInPolicy

  4. Select Work Items.

    WorkItems

  5. Click Ok.

  6. Users will see a list of Policy warnings on Pending changes.

    RequiredWorkItem

  7. Upon clicking Check In, they will receive the following error message:

    RequiredError

Require comments on Check-in

To require comments on each check-in,

  1. On Visual Studio, open Team Explorer.

  2. Go to Project > Settings > Source Control.

    Settings

    SourceControl

  3. Go to the Check-in Policy tab and click Add.

    CheckInPolicy

  4. Select Changeset Comments Policy

    ChangesetComment

  5. Click Ok.

  6. Users will see a list of Policy warnings on Pending changes.

    RequiredComment

  7. Upon clicking Check In, they will receive the following error message:

    RequiredError