Geeks With Blogs
Clara's Notes on Technology Notes to me and the world

Today I was creating a new process template for my company developers when I had a strange problem. I already had a few projects created with a previous version of this template (mytemplate v2.0). The new version (mytemplate v3.0) mainly includes changes in work item types.

In order to apply the new version to the already  created team projects I imported the new versions of the work items. That worked fine.

Then I created a team project with the mytemplate v3.0 and ... error!

Module: Work Item Tracking
Event Description: TF26214: Cannot save the work item. Fields with errors: Track,Estimate
Exception Type: Microsoft.TeamFoundation.WorkItemTracking.Client.ValidationException
Exception Message: TF26201: This work item has unsupported fields, or user does not have permissions.

How come I had an error? I had uploaded the template without problems, I had used the Process Template Editor in connected state and I had imported the work items definitions to older project - all successfully. Surely that should be validation enough?

The error message is a bit misleading. The problem lay in the default work items, not in the work items definitions. For example, I had set the "Estimate" field to be required for a task but I did not specify any value for the default tasks. So, when the default task were created: crash!

Posted on Wednesday, January 10, 2007 4:49 PM Team System | Back to top


Comments on this post: TF26214: Cannot save the work item. Fields with errors: Track,Estimate

# VSTS Links - 01/12/2007
Requesting Gravatar...
GertD on Variables to the rescue.

Anthony Borton on Tricks and Tips for installing VS2005 and more....
Left by Team System News on Jan 12, 2007 8:59 AM

# re: TF26214: Cannot save the work item. Fields with errors: Track,Estimate
Requesting Gravatar...
Just as I was deleting the default workitem creation tasks I realised/found that I could specify field values, that the workitem creation xml wasn't defaulting to an updated new workitem initial state value - had to choose it - so it's just a bit dumb, can't read the workitem creation transition to get the correct initial state.

testing the theory now...
Left by Andy Welch on May 14, 2009 2:41 AM

Your comment:
 (will show your gravatar)


Copyright © Clara Oscura | Powered by: GeeksWithBlogs.net