How to modify the default Check-in Action in TFS?

后端 未结 4 1455
鱼传尺愫
鱼传尺愫 2020-12-19 02:09

The default check-in action for a work-item is \"resolve\". I\'d like to set it to \"associate\" so that this work item isn\'t automaticaly closed if I check-in stuff too fa

相关标签:
4条回答
  • 2020-12-19 02:12

    For newer versions of Visual Studio, you can now set this default in the UI:

    Tools -> Options -> Source Control -> Visual Studio Team Foundation Server -> (Uncheck) Resolve associated work items on check-in

    0 讨论(0)
  • 2020-12-19 02:26

    Yup, the check-in action can only be associated to a state transition (i.e. Active to Resolved). In my blog post that Fredrick linked to (http://www.woodwardweb.com/vsts/top_tfs_tip_3_r.html) I talk about how to remove that. You'll need to customize the work item for everyone in your team project to make this happen. For help on that see

    http://msdn.microsoft.com/en-us/library/ms243849(VS.80).aspx

    0 讨论(0)
  • 2020-12-19 02:27

    Martin Woodward blogged about how to remove the "Resolve" action from the check-in dialog as a work-around for this:

    http://www.woodwardweb.com/vsts/top_tfs_tip_3_r.html

    0 讨论(0)
  • 2020-12-19 02:35

    Unlike previous versions, in VS2015 the registry key solution seems to work in the cases we need!

    I just went to

    HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\14.0\TeamFoundation\SourceControl\Behavior
    

    and changed ResolveAsDefaultCheckinAction from True to False.

    0 讨论(0)
提交回复
热议问题