问题
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