Skip to content

Commit

Permalink
Same key item error fix (#2567)
Browse files Browse the repository at this point in the history
PR based on discussion
#2216 (reply in thread)
  • Loading branch information
MrHinsh authored Dec 27, 2024
2 parents 0e1dc05 + f4173ae commit 832472c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -782,7 +782,7 @@ private WorkItemData ReplayRevisions(List<RevisionItem> 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;

Expand Down

0 comments on commit 832472c

Please sign in to comment.