Error Iteration/Area Mapping for missing history old project #2028
Answered
by
madhuripawar2212
evertongera
asked this question in
Q&A
Replies: 1 comment 2 replies
-
|
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
evertongera
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 can't seem to migrate my workitem.
here is what the config:
{
"ChangeSetMappingFile": null,
"Source": {
"$type": "TfsTeamProjectConfig",
"Collection": "https://",
"Project": "Inovação",
"ReflectedWorkItemIDFieldName": "Custom.ReflectedWorkItemId",
"AllowCrossProjectLinking": false,
"AuthenticationMode": "AccessToken",
"PersonalAccessToken": "",
"PersonalAccessTokenVariableName": "",
"LanguageMaps": {
"AreaPath": "Area",
"IterationPath": "Iteration"
},
"CollectionName": "https://"
},
"Target": {
"$type": "TfsTeamProjectConfig",
"Collection": "https://",
"Project": "InovacaoMigration1",
"ReflectedWorkItemIDFieldName": "Custom.ReflectedWorkItemId",
"AllowCrossProjectLinking": false,
"AuthenticationMode": "AccessToken",
"PersonalAccessToken": "",
"PersonalAccessTokenVariableName": "",
"LanguageMaps": {
"AreaPath": "Area",
"IterationPath": "Iteration"
},
"CollectionName": "https://"
},
"FieldMaps": [],
"GitRepoMapping": null,
"LogLevel": "Debug",
"CommonEnrichersConfig": [
{
"$type": "TfsNodeStructureOptions",
"NodeBasePaths": [],
"AreaMaps": {
"^projects2\\Roge$" : "InovacaoMigration1\Roge"
},
"IterationMaps": {
"^projects2\\Roge$" : "InovacaoMigration1\Core V.I.",
"^projects2\\Roge\\Sprint 1$" : "InovacaoMigration1\Core V.I.\2019\Sprint 01"
},
"ShouldCreateMissingRevisionPaths": true,
"ReplicateAllExistingNodes": true
}
],
"Processors": [
{
"$type": "WorkItemMigrationConfig",
"Enabled": true,
"ReplayRevisions": true,
"PrefixProjectToNodes": false,
"UpdateCreatedDate": true,
"UpdateCreatedBy": true,
"WIQLQuery": "SELECT [System.Id] FROM WorkItems WHERE [System.TeamProject] = @teamproject AND [System.WorkItemType] NOT IN ('Test Suite', 'Test Plan','Shared Steps','Shared Parameter','Feedback Request') AND [System.Id] IN (1287)",
"WIQLOrderBit": "[System.Id]",
"LinkMigration":true,
"AttachmentMigration":true,
"AttachmentWorkingPath": "c:\temp\WorkItemAttachmentWorkingFolder\",
"FixHtmlAttachmentLinks": true,
"SkipToFinalRevisedWorkItemType": false,
"WorkItemCreateRetryLimit": 5,
"FilterWorkItemsThatAlreadyExistInTarget": false,
"PauseAfterEachWorkItem": false,
"AttachmentMaxSize": 480000000,
"AttachRevisionHistory": true,
"LinkMigrationSaveEachAsAdded": false,
"GenerateMigrationComment": false,
"WorkItemIDs": null,
"MaxGracefulFailures": 0,
"SkipRevisionWithInvalidIterationPath": false,
"SkipRevisionWithInvalidAreaPath": false,
"NodeStructureEnricherEnabled": null,
"UseCommonNodeStructureEnricherConfig": false,
"NodeBasePaths": []
}
],
"Version": "15.0",
"workaroundForQuerySOAPBugEnabled": false,
"WorkItemTypeDefinition": {
"sourceWorkItemTypeName": "targetWorkItemTypeName"
},
"Endpoints": {
"InMemoryWorkItemEndpoints": [
{
"Name": "Source",
"EndpointEnrichers": null
},
{
"Name": "Target",
"EndpointEnrichers": null
}
]
}
}
ERROR:
[14:51:16 INF] [v15.0.4] Validating::Check that all Area & Iteration paths from Source have a valid mapping on Target
[14:51:16 INF] [v15.0.4] DONE in 00:00:04.0633897
[14:51:16 FTL] [v15.0.4] Error while running WorkItemMigration
VstsSyncMigrator.Engine.ConfigException: Source and Target projects have different names, but NodeStructureEnricher is not enabled. Cant continue... please enable nodeStructureEnricher in the config and restart.
em VstsSyncMigrator.Engine.WorkItemMigrationContext.ValidateAllNodesExistOrAreMapped(List`1 sourceWorkItems) na D:\a\1\s\src\VstsSyncMigrator.Core\Execution\MigrationContext\WorkItemMigrationContext.cs:linha 302
em VstsSyncMigrator.Engine.WorkItemMigrationContext.InternalExecute() na D:\a\1\s\src\VstsSyncMigrator.Core\Execution\MigrationContext\WorkItemMigrationContext.cs:linha 186
em MigrationTools._EngineV1.Processors.MigrationProcessorBase.Execute() na D:\a\1\s\src\MigrationTools_EngineV1\Processors\MigrationProcessorBase.cs:linha 50
[14:51:16 ERR] [v15.0.4] WorkItemMigration The Processor MigrationEngine entered the failed state...stopping run
[14:51:16 INF] [v15.0.4] Application is shutting down...
[14:51:16 DBG] [v15.0.4] Hosting stopping
[14:51:16 DBG] [v15.0.4] Exiting with return code: 0
[14:51:16 INF] [v15.0.4] Application Ending
[14:51:17 INF] [v15.0.4] The application ran in 00:00:08.3384976 and finished at 04/17/2024 14:51:17
[14:51:17 DBG] [v15.0.4] Hosting stopped
Beta Was this translation helpful? Give feedback.
All reactions