我们已升级到TFS 2012(从2010年开始),并且我们的自定义流程模板存在一些问题。
在每个项目中,当导航到Web访问站点上的Backlogs页面时,我们会收到此消息。
This feature cannot be used until you configure it for this team project.
单击“配置并运行自动配置”页面,为2010年处理过程模板的项目返回以下错误。
[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: RequirementBacklog/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: 'RequirementBacklog/States'. The following state does not exist in any of the work item types: Active, Resolved.
[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, Resolved.
[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.
其他未定制的项目不会返回错误,并且升级时没有任何问题。
在网上阅读我可以看到问题是因为自定义模板,但它们似乎是一些不同的选项来解决这个问题。有没有人有这方面的经验,你建议怎么做才能修复它?
答案 0 :(得分:1)
您检查了ALM Rangers' Upgrade guide吗?关于这个主题有一个附录(和工具)。
答案 1 :(得分:0)
在MSDN上有一些指南,基本上,你已经远离TFS了解你的模板。例如,对于它是MSF Agile,你有“用户故事”,如果你有“要求”你就是CMMI。
我根据这些指南升级了大量定制的模板:
对于SO来说,这不是一个非常合适的问题,因为它是非常开放的,事情清单可能相当广泛。
也就是说,如果您拿走当前的工作项并添加它要查找的内容,请执行升级,然后删除它们并在病毒运行后更新配置。 例如,在任务升级开始时添加“新”状态,然后在升级后编辑流程配置,以表示相应的“新建”是“启动工作触发器”。