January 5, 2009

Error importing work item type definition: The given key was not present in the dictionary

Filed under: TFS — kevinhick @ 9:09 am

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 –>


Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

Blog at

%d bloggers like this: