试图在VS 2017 / TFS 2017中编辑WIT

编程入门 行业动态 更新时间:2024-10-26 00:28:10
本文介绍了试图在VS 2017 / TFS 2017中编辑WIT的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我们最近将我们的现有TFS版本升级到2017年更新 1.

We recently upgraded our on prem TFS version to 2017 update1.

最后我们升级到新的笔记本电脑,安装了VS 2017 Processional,形成MSDN订阅。

Last we I was upgraded to a new laptop with VS 2017 Processional installed form an MSDN subscription.

我一直在尝试遵循我在VS 2012中所做的类似过程,工具>过程编辑器>工作项类型>在VS 2017中从服务器打开WIT,但我认为我没有安装Power Tools,我似乎无法找到加载它们的位置。

I have been trying to follow a similar process that I did in VS 2012, Tools > Process Editor > Work Items Types > Open WIT from Server in VS 2017 but I don't think I have the Power Tools installed and I can't seem to find where to load them.

我需要这样做才能添加根据我所阅读的所有内容以及已被告知本地版本的工作/ Scrum Board的其他列尚未集成到此功能中。

I need to do this to add additional columns to a Work / Scrum Board according to all that I have read and been told the on-prem version does not have this feature integrated into it yet.

提前获得您可以提供的任何帮助。

Thx in advance for any help you can provide.

推荐答案

您好tmon332,

Hi tmon332,

感谢您在此发帖。

请安装 VS 2017的TFS流程模板编辑器如果您想用它来编辑WIT定义文件就像你在$ 2012中的一样。

Please install theTFS Process Template Editor for VS 2017if you want to use it to edit the WIT definition files just as you did in VS 2012.

你的意思是你想在任务板上添加其他列(状态) ?

请按照以下步骤进行操作:

Please follow below steps to do that:

1。添加新状态(例如此处为任务工作项类型添加"测试"状态)到工作项类型。

  • 导出  ; 任务工作项类型:(您也可以使用Process Editor导出/导入WIT定义文件)
  • Export theTaskwork item type: (You can also export/import the WIT definition file with Process Editor )
witadmin exportwitd /collection: servername:8080/tfs/DefaultCollection /p:LCTFVCScrum /f:E:\anlidy\2017Task.xml

  • 使用文本编辑器打开导出的Task.xml文件并添加一个新状态 测试在witd>下WORKITEMTYPE>工作流程>状态:
  • Open the exported Task.xml file with text editor and add a new stateTestunder witd > WORKITEMTYPE > WORKFLOW > STATES:
<WORKFLOW> <STATES> <STATE value="Test"> <FIELDS> <FIELD refname="Microsoft.VSTS.Common.ClosedDate"> <EMPTY /> </FIELD> </FIELDS> </STATE>

  • 修改转换以通过新状态(根据需要添加转换,从=&正在进行中"to ="测试"例如此处":
  • <TRANSITIONS> <TRANSITION from="In Progress" to="Test"> <REASONS> <DEFAULTREASON value="Ready to Test" /> </REASONS> </TRANSITION>

    2。编辑 ProcessConfiguration.xml文件 添加状态(列)。

    • 导出流程配置定义:
    witadmin exportprocessconfig /collection:servername:8080/tfs/DefaultCollection /p:LCTFVCScrum /f:E:\anlidy\ProcessConfiguration.xml

    • 打开< strong> ProcessConfiguration.xml 使用文本编辑器,在TaskBacklog下添加新的InProcess状态(Column),并将值设置为 测试:
      • Open theProcessConfiguration.xmlwith text editor, add a new InProcess state (Column) under the TaskBacklog and set the value asTest:
      • <TaskBacklog category="Microsoft.TaskCategory" parent="Microsoft.RequirementCategory" pluralName="Tasks" singularName="Task" workItemCountLimit="1000"> <AddPanel> <Fields> <Field refname="System.Title" /> </Fields> </AddPanel> <Columns> <Column width="400" refname="System.Title" /> <Column width="100" refname="System.State" /> <Column width="100" refname="System.AssignedTo" /> <Column width="50" refname="Microsoft.VSTS.Scheduling.RemainingWork" /> </Columns> <States> <State type="Proposed" value="To Do" /> <State type="InProgress" value="In Progress" /> <State type="InProgress" value="Test" /> <State type="Complete" value="Done" /> </States> </TaskBacklog>

        • 导入流程配置定义:
        • witadmin importprocessconfig /collection:servername:8080/tfs/DefaultCollection /p:LCTFVCScrum /f:E:\anlidy\ProcessConfiguration.xml

          返回任务栏检查新状态(列):

          Back to the Task board check the new state (Column):

          最好的问候。

更多推荐

试图在VS 2017 / TFS 2017中编辑WIT

本文发布于:2023-11-16 12:14:07,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1604179.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:编辑   TFS   WIT

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!