by XDK
11. January 2015 08:43
Exception:
TF400917: The current configuration is not valid for this feature. This feature cannot be used until you correct the configuration
Explanation:
After adding a initial state New to Bug work item workflow, the backlog and the task board showed the error:
TF400917: The current configuration is not valid for this feature. This feature cannot be used until you correct the configuration
Solution:
1. Export team project's CommonConfiguration.xml
witadmin exportcommonprocessconfig /collection:<Collection URL> /p:<Team Project Name> /f:<CommonConfiguration.xml>
2. Add the new state to CommonConfiguration.xml's BugCategory
<BugWorkItems category="Microsoft.BugCategory">
<States>
<State type="Proposed" value="New" />
<State type="InProgress" value="Active" />
<State type="Complete" value="Closed" />
<State type="Resolved" value="Resolved" />
</States>
</BugWorkItems>
3. Import the updated CommonConfiguration.xml to team project
witadmin Importcommonprocessconfig /collection:<Collection URL> /p:<Team Project Name> /f:<CommonConfiguration.xml>