我正在使用 TFS 2012(更新 4)。
在我的 Bug 工作项工作流程中添加新的初始状态 New 之后 积压工作和任务板显示错误:
TF400917: The current configuration is not valid for this feature. This feature cannot be used until you correct the configuration.
我试图通过在公共(public)进程配置中添加新行来解决这个问题:
< BugWorkItems category="Microsoft.BugCategory"><States> <State type="New" value="Proposed" /> <State type="InProgress" value="Active" /> <State type="Complete" value="Closed" /> <State type="Resolved" value="Resolved" /> </States>
但是通过 witadmin 导入这个 - 我得到错误:
witadmin.exe importcommonprocessconfig /collection:< my collection> /p:Kanban /f:d:\tmp\CommonProcessConfig_Kanban_new.xml
Line: 5 Position: 14 - The 'type' attribute is invalid - The value 'New' is invalid according to its datatype 'StateFieldEnum' - The Enumeration const raint failed.
哪些类型(和元类型)对我的 Bug 工作项有效,这个 StateFieldEnum 在哪里定义?
在字段浏览器中,字段 System.State 有一个允许值 New。
最佳答案
我自己发现了错误。这是编辑 BugCategory 的正确方法。
我已经交换了类型和值 - 要导入的正确 xml 是:
<BugWorkItems category="Microsoft.BugCategory">
<States>
<State type="Proposed" value="New" />
关于tfs - 向工作项类型添加新的初始状态 Bug - Web Access 任务板显示错误 TF400917,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22176152/