Hi,
I'm working with the Work Item connector and have mapping the state field in Rally to the drop down field values in TFS.
These have been mapped as follows.
<Field>
<Rally>State</Rally>
<Other>System.State</Other>
</Field>
and the mapping as
<OtherEnumFieldHandler>
<FieldName>System.State</FieldName>
<Mappings>
<Field><Rally>Submitted</Rally> <Other>New</Other></Field>
<Field><Rally>Open</Rally> <Other>Active</Other></Field>
<Field><Rally>Fixed</Rally> <Other>Resolved</Other></Field>
<Field><Rally>Closed</Rally> <Other>Closed</Other></Field>
<Field><Rally>Parked</Rally> <Other>New</Other></Field>
</Mappings>
</OtherEnumFieldHandler>
When I run the connector I am getting a error on the log file stating that the value does not exist.
[2019-08-12 10:17:19 Z] WARN : RallyEIF::WRK::TFSConnection.initialize - Could not create Bug: The field 'State' contains the value 'Active' that is not in the list of supported values
[2019-08-12 10:17:19 Z] ERROR : RallyEIF::WRK::Connector.rescue in copy_to_other - Unable to create a VSTS Bug with these field values: {"Microsoft.VSTS.TCM.ReproSteps"=>"Defect test 1 Description", "System.Title"=>"DEFECT TEST 1", "Microsoft.VSTS.Scheduling.OriginalEstimate"=>10.0, "Microsoft.VSTS.Common.Priority"=>"2", "Microsoft.VSTS.Scheduling.StoryPoints"=>9.0, "Microsoft.VSTS.Common.Severity"=>"2 - High", "System.State"=>"Active", "Microsoft.VSTS.Scheduling.CompletedWork"=>0.0, "Microsoft.VSTS.Scheduling.RemainingWork"=>10.0, "System.AssignedTo"=>"oliver_clarke", "System.History"=>"Defect test 1 notes section", "RallyCommonExternalId"=>"328217107748"}, Could not create Bug: The field 'State' contains the value 'Active' that is not in the list of supported values
[2019-08-12 10:17:19 Z] ANY : RallyEIF::WRK::ConnectorRunner.process_service - Finished Service COPY_RALLY_TO_VSTS
I have checked the drop down values of the state field in the TFS and this has the value of Active so im unsure as to why this is not mapping and throwing the error.
I have attached the log file for reference.
Many Thanks