0

尝试在 scrum 模板 (Microsoft Visual Studio Scrum 2013.4) 中为 bug WIT 实现自定义工作流。

在我们的业务流程中,不需要“已承诺”和“已批准”。事实上,除了添加一些新状态外,我们还可以回收这些状态来表示称为“准备测试”和“正在进行测试”的其他状态。

当我更改现有的“已提交”和/或“已批准”状态时(使用 TFS>Tools>Process Editor>Work Item Types>Open WIT From Server)我在保存它并使用通过网页重新打开积压后收到一条错误消息:

TF400917: The current configuration is not valid for this feature. This feature cannot be used until you correct the configuration.

Learn about how to correct your configuration

Details about the validation error appear below:

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: Committed.

错误消息中提到的“配置”是什么?!起初我认为它可能是看板以某种方式连接到这些现有状态,但我不知道在哪里看(或者即使是那样)?

我不想从头开始创建一个庞大的模板,而是想破解一个现有的模板。请问有什么建议吗?

4

1 回答 1

0

http://blogs.msdn.com/b/visualstudiouk/archive/2013/01/19/adding-additional-states-onto-the-agile-task-board-in-tfs2012.aspx http://www.datazx .cn/Forums/en-US/2041fa34-0463-4dbc-8fa9-a22012784a9b/action?threadDisplayName=using-bug-work-items-on-task-board

运行管理员 cmd 提示符

进入进程文件 cd %programfiles(x86)%\Microsoft Visual Studio 12.0\Common7\IDE

C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE>witadmin exportprocessconfig /collection: http://tfs:8080/tfs/sandbox /p:"Sandbox" /f:c:\myConfig.xml

在重命名状态 C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE>witadmin importprocessconfig /collection: http://tfs:8080/tfs/sandbox /p:"Sandbox " /f:c:\myConfig.xml

于 2015-06-18T16:26:35.447 回答