azure-devops-migration-tools icon indicating copy to clipboard operation
azure-devops-migration-tools copied to clipboard

Error in Migrating Iterations and Areas

Open ankitkaushik94 opened this issue 3 years ago • 1 comments

Hi Team,

I am trying to migrate Iterations and Areas using "TfsAreaAndIterationProcessor". I have Source and target configurations in place. But when I am trying to execute the json file it is giving error as follows:

Error:
" [19:27:55 INF] Config Found, creating engine host [19:27:56 INF] Creating Migration Engine d4e67bcb-7859-4a5e-af85-ed068c0aa284 [19:27:56 INF] ProcessorContainer: Of 1 configured Processors only 1 are enabled [19:27:56 INF] ProcessorContainer: Adding Processor TfsAreaAndIterationProcessor [19:27:56 INF] Processor::Configure [19:27:56 INF] Processor::Configure Processor Type TfsAreaAndIterationProcessor [19:27:56 INF] Creating endpoint with name Source [19:27:56 DBG] Endpoint::Configure [19:27:56 WRN] No Enrichers have been Configured [19:27:56 DBG] TfsEndpoint::Configure [19:27:56 ERR] In the Processor configuration, specify the SourceName, for example "SourceName" : "mySourceName" and make sure there's an EndPoint with that name [19:27:56 ERR] Unhandled exception! System.ArgumentNullException: Value cannot be null. Parameter name: Organisation"

Configuration in Json File:

"Processors": [ { "$type": "TfsAreaAndIterationProcessorOptions", "Enabled": true, "PrefixProjectToNodes": false, "NodeBasePaths": null, "ProcessorEnrichers": null, "SourceName": "Source", "TargetName": "Target" } ], "Version": "12.0", "workaroundForQuerySOAPBugEnabled": false, "WorkItemTypeDefinition": { "sourceWorkItemTypeName": "targetWorkItemTypeName" }, "Endpoints": { "TfsWorkItemEndpoints": [ { "Name": "Source", "EndpointEnrichers": null }, { "Name": "Target", "EndpointEnrichers": null } ] }

It is not migrating anything and getting errored out every time. Please help and let me know if any other info is required from my end.

ankitkaushik94 avatar Jul 20 '22 08:07 ankitkaushik94

Try referring to the config on comment here

mihirdilip avatar Jul 21 '22 15:07 mihirdilip

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 10 days

github-actions[bot] avatar Aug 21 '22 00:08 github-actions[bot]