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

Adding new Workflow State in TFS 2015.4 Agile Template - and missing in Kanban Board

我正在使用 TFS 2015.4,敏捷模板。我想改变我的工作流程状态以将分析作为一个选项包括在内。我已经修改了用户故事 WIT 和 ProcessConfiguration、工作流节点和有效状态等。我成功地重新上传了模板并将新模板设置为默认值。关于设置用户故事状态,一切都很好。但是,在看板上,我想添加一个映射到新添加的分析的选项卡。这个新选项没有出现。我还缺少其他东西吗?

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

  1. 导出进程配置文件:

witadmin exportprocessconfig /collection:http://tfsserver:8080/tfs/teamprojectcollection /p:teamproject /f:C:\Users\username\Desktop\ProcessConfiguration.xml

  1. 修改XML定义文件。在您的情况下,您应该通过添加 Analysis state:
  2. 来修改 RequirementBacklog

<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. 导入流程配置文件:

witadmin importprocessconfig /collection:http://tfsserver:8080/tfs/teamprojectcollection /p:teamproject /f:C:\Users\username\Desktop\ProcessConfiguration.xml

  1. 这样就可以添加一个Column,选择Analysis状态,类似下面的截图: