Replies: 1 comment 3 replies
-
This either means that you are connecting to a non-english language version of TFS, or the project name is incorrect. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
@MrHinsh I am trying to test with one work item for Migration testing . My itearetion and area paths are are different in source and target.
{
"$schema": "https://devopsmigration.io/schema/configuration.schema.json",
"Serilog": {
"MinimumLevel": "Information"
},
"MigrationTools": {
"Version": "16.2",
"Endpoints": {
"Source": {
"EndpointType": "TfsTeamProjectEndpoint",
"Collection": "https://dev.gov/tfs/GSP/",
"Project": "TSProject1",
"Authentication": {
"AuthenticationMode": "Prompt"
},
"ReflectedWorkItemIdField": "Custom.ReflectedWorkItemId",
"LanguageMaps": {
"AreaPath": "Area",
"IterationPath": "Iteration"
}
},
"Target": {
"EndpointType": "TfsTeamProjectEndpoint",
"Collection": "https://dev.gov/tfs/GSP2/",
"Project": "Project2",
"Authentication": {
"AuthenticationMode": "AccessToken",
"AccessToken": "XXXXXXX"
},
"ReflectedWorkItemIdField": "Custom.ReflectedWorkItemId",
"LanguageMaps": {
"AreaPath": "Area",
"IterationPath": "Iteration"
}
}
},
"Processors": [
{
"ProcessorType": "TfsWorkItemMigrationProcessor",
"Enabled": true,
"UpdateCreatedDate": true,
"UpdateCreatedBy": true,
"WIQLQuery": "SELECT [System.Id] FROM WorkItems WHERE [System.TeamProject] = @teamproject AND [System.Id] = 9288 NOT IN ('Test Suite', 'Test Plan','Shared Steps','Shared Parameter','Feedback Request') ORDER BY [System.ChangedDate] desc",
"WorkItemCreateRetryLimit": 5,
"FilterWorkItemsThatAlreadyExistInTarget": false,
"GenerateMigrationComment": true,
"SourceName": "Source",
"TargetName": "Target",
"AttachmentMigration": true,
"AttachmentWorkingPath": "C:\Temp\attachments\",
"IterationPath": {
"TSProject1\Cycle 1-Sprint 1":"Project2\Sprint 1"
}
}
],
"CommonTools": {
"FieldMappingTool": {
"Enabled": true,
"FieldMaps": [],
"Loglevel": "Information"
}
}
}
}
After Access granted two projects I am getting below error when i run devopsmigration execute --config "C:\Temp\onfiguration.json"
An error occurred in the Migration Tools causing it to stop! This is likley due to a configuration issue and is not being logged remotely. You can always ask on https://github.com/nkdAgility/azure-devops-migration-tools/discussions
MigrationTools.Exceptions.MigrationToolsException: Unable to load Common Structure for Target.This is usually due to TFS having a different installed langauge version than was expected.. Validate that 'Area' is the correct name in your version. This would be something like 'Fläche' or 'Aire'. If you open the area tree in Visual Studio, or web access, you should see the name your langauage uses for 'Area' or 'Iteration. Do not try to add a specific area or iteration path to this field. Check the defaults on https://devopsmigration.io/Reference/Endpoints/TfsTeamProjectEndpoint/ for an example fro English.
at MigrationTools.Tools.TfsNodeStructureTool.ProcessCommonStructure(String treeTypeSource, String localizedTreeTypeName, String projectTarget, TfsNodeStructureType nodeStructureType) in D:\a\azure-devops-migration-tools\azure-devops-migration-tools\src\MigrationTools.Clients.TfsObjectModel\Tools\TfsNodeStructureTool.cs:line 464
at MigrationTools.Tools.TfsNodeStructureTool.MigrateAllNodeStructures() in D:\a\azure-devops-migration-tools\azure-devops-migration-tools\src\MigrationTools.Clients.TfsObjectModel\Tools\TfsNodeStructureTool.cs:line 408
at MigrationTools.Tools.TfsNodeStructureTool.ProcessorExecutionBegin(TfsProcessor processor) in D:\a\azure-devops-migration-tools\azure-devops-migration-tools\src\MigrationTools.Clients.TfsObjectModel\Tools\TfsNodeStructureTool.cs:line 279
at MigrationTools.Processors.TfsWorkItemMigrationProcessor.InternalExecute() in D:\a\azure-devops-migration-tools\azure-devops-migration-tools\src\MigrationTools.Clients.TfsObjectModel\Processors\TfsWorkItemMigrationProcessor.cs:line 119
at MigrationTools.Processors.Infrastructure.Processor.Execute() in D:\a\azure-devops-migration-tools\azure-devops-migration-tools\src\MigrationTools\Processors\Infrastructure\Processor.cs:line 99
[22:38:32 INF] [16.2.9] TfsWorkItemMigrationProcessor completed in 00:00:00
[22:38:32 ERR] [16.2.9] TfsWorkItemMigrationProcessor The Processor MigrationEngine entered the failed state...stopping run
[22:38:32 INF] [16.2.9] Command ExecuteMigrationCommand completed in 00:00:05.4447657
[22:38:32 INF] [16.2.9] Check the logs for errors: C:\Users\PSammeta\AppData\Local\Microsoft\WinGet\Packages\nkdAgility.AzureDevOpsMigrationTools_Microsoft.Winget.Source_8wekyb3d8bbwe\logs\20250717223826
Beta Was this translation helpful? Give feedback.
All reactions