定制PBI。需要更新Categories.xml。我在哪里可以找到它? [英] Customizing PBI. Need to update Categories.xml. Where Can i find it?

查看:132
本文介绍了定制PBI。需要更新Categories.xml。我在哪里可以找到它?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我正在定制PBI。我添加了不同的状态并尝试通过Process Editor导入它们。

I am Customizing PBI. I have added different states and trying to Import them via Process Editor.


我已成功更新,当我打开PBI时可以看到新状态。

I have updated successfully, and can see the new states when I open a PBI.


但是当我在VSTS上打开Backlogs时,我收到以下错误。 -

But when I open the Backlogs on VSTS, I am getting the following error. -


TF400917:当前配置对此功能无效。在更正配置之前,无法使用此功能。


有关验证错误的详细信息如下所示:



  • 以下元素包含错误:RequirementBacklog / States。 TF400536:此元素定义待办事项中显示的工作项的状态。每个工作项类型的初始状态值必须与此元素中定义的状态的一个
    匹配。以下工作项类型的初始状态未包含在已定义的状态中:'Product Backlog Item'。


有人可以帮助我解决这个问题。

Can someone help me in fixing this.


做了一些研究,它说,我需要在  Categories.xml。 我在哪里可以找到它? (如果是解决方案)

Done some research and it says, I need to add the workitem type in the Categories.xml. Where Can i find it? (if it is the solution)

推荐答案

您需要更新流程配置,而不是类别。

You need to update the process configuration, not the categories.

您可以使用Witadmin工具导出/导入配置:witadmin.exe
exportprocessconfig

You can export/import the configuration using the Witadmin tool: witadmin.exe exportprocessconfig

通过映射更新相关的积压配置具有XML中定义的转移的WITD的状态,例如

Update the relevant backlog configuration by mapping the states of your WITD with the metastates defined in the XML, for example

<ProjectProcessConfiguration>
  <BugWorkItems category="Microsoft.BugCategory" pluralName="Bugs" singularName="Bug">
    <States>
      <State type="Proposed" value="New" />
      <State type="InProgress" value="Active" />
      <State type="Complete" value="Closed" />
      <State type="Resolved" value="Resolved" />
    </States>
  </BugWorkItems>


这篇关于定制PBI。需要更新Categories.xml。我在哪里可以找到它?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆