By default, in Visual Studio, when you want to check-in some pending changes, the default State value of related work items are to “Resolved”. You can change this default value to “Associated” to avoid some suprises ;-) :

  1. Close Visual Studio
  2. Execute RegEdit
  3. Go to the path [HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\12.0\TeamFoundation\SourceControl\Behavior]
  4. Set this key to False : ResolveAsDefaultCheckinAction = False
  5. Restart Visual Studio.

TFS Associate Sample