In a follow up to my previous post, if you receive this error: "The given key was not present in the dictionary" when you upload the work item type, you may have left a reference to a field that you’ve now removed, in a rule on another field, e.g.
<!– Commenting out this field will result in an error if the rule below is not removed
<FIELD type="String" name="Removed Field" refname="Custom.RemovedField">
<HELPTEXT>The Quality Center Defect ID</HELPTEXT>
<FIELD type="String" name="Field that references the one above" refname="Custom.ReferencingField">
<WHENNOT field="Custom.RemovedField" value="Deleted"><!–This refers to a field that no longer exists –>