Replies: 1 comment
-
Can you try again with the latest version? We have had ~45 releases with fixes since v15.0.4! |
Beta Was this translation helpful? Give feedback.
0 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.
-
I've been tasked with moving all work items from one DevOps organisation to another. I've set up the target to be identical to the source in terms of areas (haven't got on to iteration paths yet, I'd like to skip that if it's possible?).
From what I can tell from the documentation, I don't need to set up any field maps as its 1:1 relationship but the app doesn't seem to be picking up any areas so suspect I may be wrong on that front.
If I do need a field mapping setup, I can't tell which kind I want for this direct migration with no actual mapping
My error is:
Error in output:
[14:11:25 INF] [v15.0.4] Validating::Check that all Area & Iteration paths from Source have a valid mapping on Target
[14:11:25 DBG] [v15.0.4] TfsNodeStructure:CheckForMissingPaths
[14:11:25 DBG] [v15.0.4] TfsNodeStructure:CheckForMissingPaths::AreaNodes::6
[14:11:25 DBG] [v15.0.4] TfsNodeStructure:CheckForMissingPaths:Checking::null
[14:11:25 DBG] [v15.0.4] NodeStructureEnricher.GetNewNodeName(Benchmarking, Area)
[14:11:25 DBG] [v15.0.4] NodeStructureEnricher.GetNewNodeName::Mappers
[14:11:25 DBG] [v15.0.4] TfsNodeStructure:CheckForMissingPaths:CheckTarget::\Benchmarking\Area
[14:11:25 DBG] [v15.0.4] TfsNodeStructure:CheckForMissingPaths:CheckTarget::NOTFOUND:\Benchmarking\Area
[14:11:25 DBG] [v15.0.4] TfsNodeStructure:GetOrCreateNode(\Benchmarking\Area, null, null)
[14:11:25 INF] [v15.0.4] Processing Node: \Benchmarking\Area, start date: null, finish date: null
[14:11:25 DBG] [v15.0.4] Not Found:
[14:11:25 DBG] [v15.0.4] Not Found:
[14:11:25 INF] [v15.0.4] DONE in 00:00:14.2571617
[14:11:25 FTL] [v15.0.4] Error while running WorkItemMigration
System.InvalidOperationException: Path \Benchmarking\Area is not anchored in the target project, it cannot be created.
at MigrationTools.Enrichers.TfsNodeStructure.GetOrCreateNode(String nodePath, Nullable
1 startDate, Nullable
1 finishDate) in D:\a\1\s\src\MigrationTools.Clients.AzureDevops.ObjectModel\ProcessorEnrichers\TfsNodeStructure.cs:line 198at MigrationTools.Enrichers.TfsNodeStructure.CheckForMissingPaths(List
1 workItems, TfsNodeStructureType nodeType) in D:\a\1\s\src\MigrationTools.Clients.AzureDevops.ObjectModel\ProcessorEnrichers\TfsNodeStructure.cs:line 596 at MigrationTools.Enrichers.TfsNodeStructure.GetMissingRevisionNodes(List
1 workItems) in D:\a\1\s\src\MigrationTools.Clients.AzureDevops.ObjectModel\ProcessorEnrichers\TfsNodeStructure.cs:line 637at VstsSyncMigrator.Engine.WorkItemMigrationContext.ValidateAllNodesExistOrAreMapped(List`1 sourceWorkItems) in D:\a\1\s\src\VstsSyncMigrator.Core\Execution\MigrationContext\WorkItemMigrationContext.cs:line 297
at VstsSyncMigrator.Engine.WorkItemMigrationContext.InternalExecute() in D:\a\1\s\src\VstsSyncMigrator.Core\Execution\MigrationContext\WorkItemMigrationContext.cs:line 186
at MigrationTools._EngineV1.Processors.MigrationProcessorBase.Execute() in D:\a\1\s\src\MigrationTools_EngineV1\Processors\MigrationProcessorBase.cs:line 50
[14:11:25 ERR] [v15.0.4] WorkItemMigration The Processor MigrationEngine entered the failed state...stopping run
Config is:
{
"ChangeSetMappingFile": null,
"Source": {
"$type": "TfsTeamProjectConfig",
"Collection": "https://dev.azure.com/oldOrg/",
"Project": "Benchmarking",
"ReflectedWorkItemIDFieldName": "Custom.ReflectedWorkItemId",
"AllowCrossProjectLinking": false,
"AuthenticationMode": "AccessToken",
"PersonalAccessToken": "###",
"PersonalAccessTokenVariableName": "",
"LanguageMaps": {
"AreaPath": "Area",
"IterationPath": "Iteration"
},
"CollectionName": "https://dev.azure.com/oldOrg/"
},
"Target": {
"$type": "TfsTeamProjectConfig",
"Collection": "https://dev.azure.com/newOrg/",
"Project": "Benchmarking",
"ReflectedWorkItemIDFieldName": "Custom.ReflectedWorkItemId",
"AllowCrossProjectLinking": false,
"AuthenticationMode": "AccessToken",
"PersonalAccessToken": "###",
"PersonalAccessTokenVariableName": "",
"LanguageMaps": {
"AreaPath": "Area",
"IterationPath": "Iteration"
},
"CollectionName": "https://dev.azure.com/newOrg/"
},
"FieldMaps": [],
"GitRepoMapping": {},
"LogLevel": "Verbose",
"CommonEnrichersConfig": [],
"Processors": [
{
"$type": "WorkItemMigrationConfig",
"Enabled": true,
"UpdateCreatedDate": true,
"UpdateCreatedBy": true,
"WIQLQuery": "SELECT [System.Id] FROM WorkItems WHERE [System.TeamProject] = @teamproject AND [System.WorkItemType] IN ('User Story') AND [System.CreatedDate] < '01/01/2018' ORDER BY [System.ChangedDate] desc",
"FixHtmlAttachmentLinks": false,
"WorkItemCreateRetryLimit": 5,
"FilterWorkItemsThatAlreadyExistInTarget": false,
"PauseAfterEachWorkItem": false,
"AttachRevisionHistory": false,
"GenerateMigrationComment": true,
"WorkItemIDs": null,
"MaxGracefulFailures": 0,
"SkipRevisionWithInvalidIterationPath": false,
"SkipRevisionWithInvalidAreaPath": false
}
],
"Version": "15.0",
"workaroundForQuerySOAPBugEnabled": false,
"WorkItemTypeDefinition": {
"sourceWorkItemTypeName": "targetWorkItemTypeName"
},
"Endpoints": {
"InMemoryWorkItemEndpoints": [
{
"Name": "Source",
"EndpointEnrichers": null
},
{
"Name": "Target",
"EndpointEnrichers": null
}
]
}
}
Beta Was this translation helpful? Give feedback.
All reactions