迁移到TFS 2013时的处理模板更新错误

时间:2014-01-24 08:04:37

标签: tfs tfs2013 tfs-process-template

我正在尝试从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 Professional许可证,因此我没有流程模板编辑器。所以我继续并手动更改模板。

基本上在任务项目中,我将状态'Active'重命名为'New',在Bug Item中我将'Active'重命名为'Initiated',这在我的项目中使用。

我上传了这个编辑过的模板,并尝试配置没有运气的网页访问页面。

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

1 个答案:

答案 0 :(得分:6)

您需要export process configuration使用witadmin exportprocessconfig

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

然后export categories和所有类别都符合您的工作流程要求。