TFS 2012 Configure Features Error - Unable to configure Planning Tools

断了今生、忘了曾经 提交于 2019-12-10 19:34:32

问题


When trying to "Configure Features" after upgrading to TFS 2012 to enable Code Review, My Work, Feedback, Planning Tools, and Storyboarding we're getting the following error:

[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.

We are using the Microsoft Visual Studio Scrum 2.2 process template with some modifications. From what I can tell they are mostly minor. If you'd like to look at the Process Template I'm more than happy to provide it.

When I get this error it suggests the closest match to our process template is "MSF for Agile Software Development 6.0". Would we lose all out modifications by switching to this process template?


回答1:


Try this:

  • Rename your User Story to "Product Backlog Item".
  • Set the Initial State of you "Bug" to "Active".
  • Try the Upgrade
  • Rename your User Story Type back to "User Story".
  • Remove the "Active" Initial State.
  • Export your Common Process Config and add in your "Proposed" State into the Bug Configuration (see below).
  • Import your Common Process Config.

Example BugWorkItems

<BugWorkItems category="Microsoft.BugCategory">
    <States>
      <State type="Proposed" value="Proposed" />
      <!-- more -->
    </States>
</BugWorkItems>



回答2:


Had this problem myself and resolved it.

Need to edit 'ProcessConfiguration.xml' file and remove the statuses that are not needed and add the statuses that are required refering the Bug.xml work item type.



来源:https://stackoverflow.com/questions/16988559/tfs-2012-configure-features-error-unable-to-configure-planning-tools

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!