TF400917: The current configuration is not valid for this feature. This feature cannot be used until you correct the configuration.
One of my clients modified the TFS process template for one of their projects. They updated the bug Work Item and added some extra states. Everything seemed to work until they opened up the TFS Scrum board. Instead of a nice and fully functional Scrum board, they got the following error message:
TF400917: The current configuration is not valid for this feature. This feature cannot be used until you correct the configuration.
To fix this, I had to execute the following steps:
- Export the CommonProcessConfig xml:
C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE>witadmin exportcommonprocessconfig /collection: <collectionurl> /p: <projectname> /f:c:\processconfig.xml
Update the BugWorkItems section inside the XML and add the missing states:
<BugWorkItems category="Microsoft.BugCategory">
<States>
<State type="InProgress" value="Not Done" />
<State type="InProgress" value="On Hold" />
<State type="Complete" value="Closed" />
<State type="Complete" value="Not reproducable" />
<State type="Complete" value="Release" />
<State type="Resolved" value="Test AIG" />
<State type="Resolved" value="Test BUS" />
<State type="Resolved" value="Test Failed" />
</States>
</BugWorkItems>
- Import the updated config again:
C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE>witadmin importcommonprocessconfig /collection: <collectionurl> /p: <projectname> /f:c:\processconfig.xml
And the issue was gone