Data Mapping - Need help to create a valid XML file to map values.

Jun 5, 2012 at 5:05 PM

Hello,

I've created a XML file like the following:

 

<?xml version="1.0"?>
 <TestCaseMigratorPlus>
   <FieldMapping>
     <FieldMappingRow DataSourceField="ID" WorkItemField="ID" />
	 <FieldMappingRow DataSourceField="Test Type" WorkItemField="Test Type" />
	 <FieldMappingRow DataSourceField="Title" WorkItemField="Title" />
	 <FieldMappingRow DataSourceField="Priority" WorkItemField="Test Case Priority" />
   </FieldMapping>
   <Relationships IsLinking="False" />
   <DataMapping>
	 <DataMappingRow DataSourceField="Priority" PreviousValue="1" NewValue="1 - Critical" />
	 <DataMappingRow DataSourceField="Priority" PreviousValue="2" NewValue="2 - High" />
	 <DataMappingRow DataSourceField="Priority" PreviousValue="3" NewValue="3 - Medium" />
	 <DataMappingRow DataSourceField="Priority" PreviousValue="4" NewValue="4 - Low" />
   </DataMapping>
   <Parameterization Start="" End="" />
   <MultiLineSense>False</MultiLineSense>
</TestCaseMigratorPlus>

 

when I go to the Data Mapping step the "Priority" data source field gets the <Ignore> value instead of the specified ones (e.g. 1 - Critical) and I have to choose these values manually from the drop-down meny. :(

Does anyone know what's the mistake in my config file?

Thanks a lot in advance,

Best Regards,

Andrey.