Team Foundation Server签入评论模板 [英] Team Foundation Server CheckIn Comment Template

查看:55
本文介绍了Team Foundation Server签入评论模板的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当开发人员将项目签入TFS时,我希望能够提供默认的注释模板。

I want to be able to provide a default comment template when developers check in items into TFS.

例如

描述:
代码审核者:
事件#:

"Description: Code Reviewer: Incident #: "

我知道Power Tools有一项政策,可以检查是否有任何文本完全输入了,但是我希望显示一些预定义的文本,以供开发人员填写其余内容。

I know there's a policy with Power Tools that checks if any text has been entered at all, but I'd like some predefined text to be presented ready for the developer to fill in the rest.

我知道也有一个签到注释部分,但我试图避免这样做,以使流程尽可能简化。

I know there's also a 'Check-in Notes' section, but I'm trying to avoid this to make the process as streamlined as possible.

注释也是用户在历史记录列表中看到的第一件事。这就是为什么我要在其他可用选项上使用注释框。

The comments are also the first thing a user sees in the history list. That's why I want to use the comments box over the other options that are available.

推荐答案

我认为您不能做那就是你想要的方式。签入策略仅是单向的,因为您只能读取数据并进行验证,但不能更新挂起的更改对话框中的内容。

I don't think you can do that the way you want. Check-in policy are one-way only in the sense you can only read the data and validate but you can't update what's in the Pending Changes dialogs.

您我们不应该直接与Visual Studio的未决更改对话框(无论如何在2012年版本中进行了修改)进行交互,所以我认为没有解决方案。

You're not supposed to directly interact with the pending changes dialog of Visual Studio (which has been revamped in the 2012 version anyway), so I don't think there's a solution.

这篇关于Team Foundation Server签入评论模板的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆