Skip to content

[Bug]: #3002

@xFiero

Description

@xFiero

Version

  • I confirm that I am using the latest version

Source Version

Azure DevOps Service

Target Version

Azure DevOps Service

Relevant configuration

{
            "FieldMapType": "FieldClearMap",
            "ApplyTo": [
              "Feature"
            ],
            "targetField": "System.Description"
          }

Relevant log output

Unhandled exception!
System.InvalidOperationException: No service for type 'MigrationTools.FieldMaps.AzureDevops.ObjectModel.FieldClearMap' has been registered.
          at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType)
          at MigrationTools.Tools.FieldMappingTool..ctor(IOptions`1 options, IServiceProvider services, ILogger`1 logger, ITelemetryLogger telemetry) in D:\a\1\s\src\MigrationTools\Tools\FieldMappingTool.cs:line 48

What happened?

I am trying to use the FieldClearMap to clear the Description field for migrated work items. I get the error 'No service for type 'MigrationTools.FieldMaps.AzureDevops.ObjectModel.FieldClearMap' has been registered.' and then the migrator quits without migrating the work item.

Debug in Visual Studio

  • Visual Studio Debug

Metadata

Metadata

Labels

Type

Projects

Status

To do

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions