在TFS 2015.4敏捷模板中添加新的工作流状态 - 并在看板中丢失

时间:2017-12-11 21:40:42

标签: tfs agile kanban

我正在使用TFS 2015.4,敏捷模板。我想改变我的工作流状态以包括Analysis作为选项。我修改了用户故事WIT和ProcessConfiguration,工作流节点和有效状态等。我成功重新上载模板并将新模板设置为默认值。在设置用户故事状态方面一切都很好。但是,在看板上,我想添加一个映射到新添加的分析的选项卡。此新选项未显示。还有其他我想念的东西吗?

1 个答案:

答案 0 :(得分:1)

您需要modify the process configuration to map new workflow states to metastates。请尝试以下步骤:

  1. 导出ProcessConfiguration文件:
  2. witadmin exportprocessconfig /collection:http://tfsserver:8080/tfs/teamprojectcollection /p:teamproject /f:C:\Users\username\Desktop\ProcessConfiguration.xml

    1. 修改XML定义文件。在您的情况下,您应该通过添加分析状态修改 RequirementBacklog
    2. <RequirementBacklog category="Microsoft.RequirementCategory" parent="Microsoft.FeatureCategory" pluralName="Stories" singularName="User Story" workItemCountLimit="1000"> <AddPanel> <Fields> <Field refname="System.Title" /> </Fields> </AddPanel> <Columns> <Column width="100" refname="System.WorkItemType" /> <Column width="400" refname="System.Title" /> <Column width="100" refname="System.State" /> <Column width="50" refname="Microsoft.VSTS.Scheduling.StoryPoints" /> <Column width="100" refname="Microsoft.VSTS.Common.ValueArea" /> <Column width="200" refname="System.IterationPath" /> <Column width="200" refname="System.Tags" /> </Columns> <States> <State type="Proposed" value="New" /> <State type="InProgress" value="Active" /> <State type="InProgress" value="Resolved" /> <State type="InProgress" value="Analysis" /> <State type="Complete" value="Closed" /> </States> </RequirementBacklog>

      1. 导入ProcessConfiguration文件:
      2. witadmin importprocessconfig /collection:http://tfsserver:8080/tfs/teamprojectcollection /p:teamproject /f:C:\Users\username\Desktop\ProcessConfiguration.xml

        1. 通过这种方式,您可以添加列并选择分析状态,它类似于以下屏幕截图:
        2. enter image description here