diff --git a/src/MigrationTools.Clients.TfsObjectModel/Tools/TfsWorkItemTypeValidatorTool.cs b/src/MigrationTools.Clients.TfsObjectModel/Tools/TfsWorkItemTypeValidatorTool.cs index 566239347..f196b1b48 100644 --- a/src/MigrationTools.Clients.TfsObjectModel/Tools/TfsWorkItemTypeValidatorTool.cs +++ b/src/MigrationTools.Clients.TfsObjectModel/Tools/TfsWorkItemTypeValidatorTool.cs @@ -370,7 +370,14 @@ private bool ValidateAllowedValues( { if (valueMaps.TryGetValue(missingValue, out string mappedValue)) { - if (targetAllowedValues.Contains(mappedValue, StringComparer.OrdinalIgnoreCase)) + if (string.IsNullOrWhiteSpace(mappedValue)) + { + mappedValues.Add(missingValue); + Log.LogInformation(" Value '{missingValue}' is mapped to empty string ('{mappedValue}')." + + " This is not checked in target and considered valid.", + missingValue, mappedValue); + } + else if (targetAllowedValues.Contains(mappedValue, StringComparer.OrdinalIgnoreCase)) { mappedValues.Add(missingValue); Log.LogDebug(" Value '{missingValue}' is mapped to '{mappedValue}', which exists in target.",