试图在VS 2017 / TFS 2017中编辑WIT [英] trying to edit a WIT in VS 2017/TFS 2017

查看:130
本文介绍了试图在VS 2017 / TFS 2017中编辑WIT的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

We recently upgraded our on prem TFS version to 2017 update 1.

最后我们升级到新的笔记本电脑,安装了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 the TFS Process Template Editor for VS 2017 if 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 the Task work item type: (You can also export/import the WIT definition file with Process Editor )
witadmin exportwitd /collection: http://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 state Test under 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:http://servername:8080/tfs/DefaultCollection /p:LCTFVCScrum /f:E:\anlidy\ProcessConfiguration.xml



    • 打开< strong> ProcessConfiguration.xml  使用文本编辑器,在TaskBacklog下添加新的InProcess状态(Column),并将值设置为  测试
      • Open the ProcessConfiguration.xml with text editor, add a new InProcess state (Column) under the TaskBacklog and set the value as Test:
      •   <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:http://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的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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