TF400654 / TF400587 - TFS - 无法配置规划工具/以下状态不存在

TF400654 / TF400587 - TFS - Unable to configure Planning Tools / The following states does not exist

我们从 TFS 2013 升级到 2017。 当 运行 "Configure Features" 向导出现此错误时:

[Error] TF400654: Unable to configure Planning Tools. The following element contains an error: TaskBacklog/States. TF400587: This element defines the states for work items that appear on your backlog. Each state must exist in at least one of the work item types belong to category defined in: 'TaskBacklog/States'. The following state does not exist in any of the work item types: Committed, Resolved, Rejected, Reopen, Approved.

这是我为 TASK 导出的类别:

<CATEGORY refname="Microsoft.TaskCategory" name="Task Category">
<DEFAULTWORKITEMTYPE name="Task" />
<WORKITEMTYPE name="Bug" />
</CATEGORY>

这是我的进程配置导出(我确实有那些状态...)

<TaskBacklog category="Microsoft.TaskCategory" pluralName="Tasks" singularName="Task" workItemCountLimit="500">
<AddPanel>
  <Fields>
    <Field refname="System.Title" />
  </Fields>
</AddPanel>
<Columns>
  <Column width="50" refname="Microsoft.VSTS.Scheduling.Effort" />
  <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" />
  <Column width="50" refname="System.ID" />
</Columns>
<States>
  <State type="Proposed" value="New" />
  <State type="Proposed" value="Committed" />
  <State type="InProgress" value="In Progress" />
  <State type="InProgress" value="Resolved" />
  <State type="InProgress" value="Rejected" />
  <State type="InProgress" value="Reopen" />
  <State type="InProgress" value="Approved" />
  <State type="Complete" value="Done" />
</States>
</TaskBacklog>

我显然遗漏了什么,但我不知道是什么……有什么帮助吗?

谢谢

您需要确保这些状态存在于您的任务类别中定义的任一工作项类型中,即任务和错误。

TaskCategory 表示 "work items that are or can be considered Tasks should have these states available"。如果工作项没有这些状态,那就有问题了。

解决方案是导出您的任务和错误工作项并查看可用状态。如果所需的状态不存在,请添加它们。