1

我正在尝试从 TFS 2010 升级到 TFS 2013。更新进展顺利,我现在唯一的问题是当我尝试配置 Web 访问功能时,它给了我以下错误。

[Warning] TF400609: Cannot add the action 'Microsoft.VSTS.Actions.StartWork' to the work      item type 'Task' because the state 'New' does not exist.

[Warning] TF400609: Cannot add the action 'Microsoft.VSTS.Actions.StopWork' to the work item type 'Task' because the state 'New' does not exist.

[Error] TF400654: Unable to configure Planning Tools. The following element contains an error: BugWorkItems/BugWorkItems. TF400506: This element defines the states for work items that represent Bugs or Defects. Each state must exist in at least one of the work item types that are defined in: BugWorkItems. The following states do not exist in any of the work item types: Active.

[Error] TF400654: Unable to configure Planning Tools. The following element contains an error: BugWorkItems/BugWorkItems. TF400507: Each work item type must support an initial state value that matches one of the states defined in: BugWorkItems. The following work item types have initial states that do not include any states defined in the bug state configuration: Bug.

由于我之前的流程模板是定制的,我知道我需要在这里做同样的事情并更新新的流程模板。由于我没有 Visual Studio 专业许可证,我没有流程模板编辑器。所以我继续手动更改模板。

基本上在任务项目中,我将状态“活动”重命名为“新”,在错误项目中,我将“活动”重命名为“已启动”,这在我的项目中使用。

我把这个编辑过的模板上传回来,并尝试配置网络访问页面,但没有成功。

关于我哪里出错的任何线索?错误消息不会改变我对流程模板所做的任何更改。

4

1 回答 1

6

您需要使用.witadmin exportprocessconfig

更改States元素以匹配您的工作项状态。

然后导出类别和所有类别符合您的工作流程要求。

于 2014-01-24T12:21:17.470 回答