This is a migrated thread and some comments may be shown as answers.

Work item has invalid fields

3 Answers 202 Views
TFS Integration
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Åsa
Top achievements
Rank 1
Åsa asked on 12 May 2011, 07:40 AM
Hi,

I've had some problems syncing my Team Pulse project with our TFS server. When I try to sync I get a couple of errors saying "Work item has invalid fields. (FieldName='Completed Work' | Value='0.230' | Status = 'Invalid type').

The issue occurs when syncing tasks from TP->TFS, if I set the value Completed Work in TFS, the sync works without problem.
From what I have gathered it has something to do with the separator used for the decimal value, in Sweden we use comma instead of decimal point.

/Ola

3 Answers, 1 is accepted

Sort by
0
Petio Petkov
Telerik team
answered on 12 May 2011, 02:27 PM
Hi Åsa,

Thank you for bringing up this problem to our attention. We managed to reproduce it locally and it's logged as a bug in our TeamPulse system. We will do our best to ship a fix for it with our next major release.
You were granted for the effort with telerik points in your account.
Let us know if you have other feedback or comments.

Kind regards,
Petio Petkov
the Telerik team
TeamPulse R1 Officially Released!
Do you want to be able to directly talk to our professionals and ask questions about the things that interest you?
Reserve a seat for the TeamPulse Weekly Live Demo today!
0
Kees
Top achievements
Rank 1
answered on 02 Feb 2012, 09:59 AM
Hi Support,

We have the december 2011 version of Team pulse installed, and I have also a issue with synchronisation.
I get this error:

Work item has invalid fields. (FieldName='Assigned To' | Value='Kees Brussen' | Status='InvalidListValue')

Can you tell me if it should be solved in that release?
Or is it a completely different problem.
Now I cannot use the TFS integration. Or is there a workaround ?

Best regards
0
Petio Petkov
Telerik team
answered on 06 Feb 2012, 12:04 PM
Hello Kees,

 It seems that your name is spelled differently in TeamPulse and TFS. The error you received appears when an item cannot be synced from TeamPulse to TFS because the assigned to user could not be found in TFS.
 You can either change your name in TeamPulse to be the same as in TFS or add a value mapping setting in the synchronization mappings xml and attach it to each entity type. Here is an example for the mappings:

<FieldMapping TeamPulseFieldName="AssignedTo" TeamPulseFieldType="string" DestinationFieldName="System.AssignedTo" DestinationFieldDisplayName="Assigned To" DestinationFieldType="string" ValueMappingName="AssignedToMapping" /> 
    
    <ValueMapping Name="AssignedToMapping"
      <Values
        <Value TeamPulseValue="Greg Smythe" DestinationValue="<how your name is spelled in TFS>" /> 
      </Values
    </ValueMapping>
You can read more about synchronization mappings from here.

If you experience any difficulties performing the suggested changes do not hesitate to contact us again.

Greetings,
Petio Petkov
the Telerik team
New Cross Project Perspective in TeamPulse coming soon!
Want to know how TeamPulse could help you better track all your projects?
Reserve a seat for the TeamPulse R1 webinar today!
Tags
TFS Integration
Asked by
Åsa
Top achievements
Rank 1
Answers by
Petio Petkov
Telerik team
Kees
Top achievements
Rank 1
Share this question
or