如何修改TFS中的默认签到操作?

时间:2021-07-14 22:36:05

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 fast. How can I do that?

工作项的默认签入操作是“解决”。我想将它设置为“关联”,这样如果我签入的东西太快,这个工作项就不会自动关闭。我怎样才能做到这一点?

3 个解决方案

#1


7  

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

是的,登记动作只能与状态转换相关联(即活动到已解决)。在Fredrick链接到的博客文章中(http://www.woodwardweb.com/vsts/top_tfs_tip_3_r.html)我谈到了如何删除它。您需要为团队项目中的每个人自定义工作项才能实现此目的。有关帮助,请参阅

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

#2


4  

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

Martin Woodward在博客中写了关于如何从签入对话框中删除“Resolve”操作作为解决方法:

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

#3


0  

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

与以前的版本不同,在VS2015中,注册表键解决方案似乎适用于我们需要的情况!

I just went to

我刚刚去了

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

and changed ResolveAsDefaultCheckinAction from True to False.

并将ResolveAsDefaultCheckinAction从True更改为False。

#1


7  

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

是的,登记动作只能与状态转换相关联(即活动到已解决)。在Fredrick链接到的博客文章中(http://www.woodwardweb.com/vsts/top_tfs_tip_3_r.html)我谈到了如何删除它。您需要为团队项目中的每个人自定义工作项才能实现此目的。有关帮助,请参阅

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

#2


4  

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

Martin Woodward在博客中写了关于如何从签入对话框中删除“Resolve”操作作为解决方法:

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

#3


0  

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

与以前的版本不同,在VS2015中,注册表键解决方案似乎适用于我们需要的情况!

I just went to

我刚刚去了

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

and changed ResolveAsDefaultCheckinAction from True to False.

并将ResolveAsDefaultCheckinAction从True更改为False。