tfs - 向工作项类型添加新的初始状态 Bug - Web Access 任务板显示错误 TF400917

标签 tfs customization workitem

我正在使用 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/

相关文章:

tfs - 如何查找未链接到工作项的TFS变更集

c# - TFS 中的内部版本号格式

reactjs - react 大日历风格的日期有事件

css - 检测自定义的 Twitter Bootstrap 设置(CSS、变量和插件)

c# - 如何从 Team Foundation 获取工作项的用户帐户名?

visual-studio-2010 - 在 Visual Studio 2010 中搁置

asp.net - 通过 Web 部署项目创建虚拟目录时访问被拒绝

eclipse - 如何更改 Eclipse IDE 中所有 View 的背景?

azure - 有关永久删除/销毁工作项 Azure DevOps 的信息

tfs - 产品待办列表项和任务是否应该处于不同的迭代路径中?