如何使用 TFS API 2010 创建新的更改请求?

发布于 2024-08-07 23:33:45 字数 240 浏览 4 评论 0 原文

我是 TFS API 的新手,目前正在通过 Windows 表单应用程序创建新工作项。谁能用代码示例详细解释如何为 TFS 2010 创建新的变更请求、风险和场景?

我知道 CR 在敏捷模板中不可用,但我在某处看到“场景”相当于我们正在使用的敏捷模板中的“服务请求/变更请求”。

敏捷中是否存在风险和要求?如果是,如何创建它们?我已成功添加新的错误和任务。如果需要,请告诉我如何编辑工作项 xml 模板。

谢谢 塔拉.

I am new to the TFS API and currently in the process of creating new work items via a windows form app. Can anyone explain in detail with code examples on how to create new Change Requests, Risks and Scenarios for TFS 2010?

I was aware that CRs are not available in the Agile template but I saw somewhere that "Scenario" is the equivalent of "Service request/Change request" in the Agile template which is what we are using.

Are Risks and Requirements available in Agile? If yes, how to create them? I have finished adding new Bugs and Tasks successfully. Please tell me how to edit the work item xml templates if necessary too.

Thanks
Tara.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

筑梦 2024-08-14 23:33:45

您可以在 http://www.ewaldhofman.nl /post/2009/12/10/TFS-SDK-2010-e28093-Part-4-使用实现-(任务)-和测试场景-(测试-)创建新用户故事Case).aspx

要添加工作项,最简单的是从流程模板中检索它们(从网上下载一个或下载 tfs 中已有的一个:团队 -> 项目集合 -> 流程模板)。然后添加您在下载位置找到的工作项,然后可以使用命令“witadmin importwitd”或使用 tfs 电动工具

You can find a code example how to create with c# a new work item at http://www.ewaldhofman.nl/post/2009/12/10/TFS-SDK-2010-e28093-Part-4-Create-a-new-User-Story-with-the-implementation-(Tasks)-and-test-scenarios-(Test-Case).aspx

To add the work items, the easiest is to retrieve them from the process template (download one from the web or download one that is already available in tfs: team -> project collection -> process templates). Then add the work item that you find in the downloaded location and you can upload that one with the command "witadmin importwitd" or with the process editor that comes with the tfs power tools

叹倦 2024-08-14 23:33:45

要编辑工作项模板,您需要安装“流程编辑器”。
安装后,打开“流程编辑器”并开始使用 Visual Studio 编辑 WIT-WorkItem Type xml 模板。

To Edit the workitem templates you need to intsall "Process Editor".
After installation, Open the "Process Editor" and start editing WIT-WorkItem Type xml templates using visual studio.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文