From f4173aee9834f3d6ff23cf6603eccd0c4687b365 Mon Sep 17 00:00:00 2001 From: shlenkinr Date: Fri, 20 Dec 2024 09:36:06 +0100 Subject: [PATCH] same key item error fix --- .../Processors/TfsWorkItemMigrationProcessor.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/MigrationTools.Clients.TfsObjectModel/Processors/TfsWorkItemMigrationProcessor.cs b/src/MigrationTools.Clients.TfsObjectModel/Processors/TfsWorkItemMigrationProcessor.cs index 57fef8a9..5916618b 100644 --- a/src/MigrationTools.Clients.TfsObjectModel/Processors/TfsWorkItemMigrationProcessor.cs +++ b/src/MigrationTools.Clients.TfsObjectModel/Processors/TfsWorkItemMigrationProcessor.cs @@ -782,7 +782,7 @@ private WorkItemData ReplayRevisions(List revisionsToMigrate, Work } } // Impersonate revision author. Mapping will apply later and may change this. - targetWorkItem.ToWorkItem().Fields["System.ChangedDate"].Value = revision.Fields["System.ChangedDate"].Value; + targetWorkItem.ToWorkItem().Fields["System.ChangedDate"].Value = revision.ChangedDate; targetWorkItem.ToWorkItem().Fields["System.ChangedBy"].Value = revision.Fields["System.ChangedBy"].Value.ToString(); targetWorkItem.ToWorkItem().Fields["System.History"].Value = revision.Fields["System.History"].Value;