Skip to content

Commit

Permalink
🐛 (WorkItemMigrationContext.cs): fix variable name from _config.WIQLQ…
Browse files Browse the repository at this point in the history
…uery to targetWIQLQuery

The variable name _config.WIQLQuery is incorrect and should be targetWIQLQuery to match the intended logic and improve code readability. This change ensures that the correct query is used for filtering existing work items, preventing potential migration issues.
  • Loading branch information
MrHinsh committed Aug 1, 2024
1 parent 08f4211 commit 653bdc8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ protected override void InternalExecute()
Engine.Source.WorkItems.Project.Name, Engine.Target.WorkItems.Project.Name, contextLog);

sourceWorkItems = ((TfsWorkItemMigrationClient)Engine.Target.WorkItems).FilterExistingWorkItems(
sourceWorkItems, _config.WIQLQuery,
sourceWorkItems, targetWIQLQuery,
(TfsWorkItemMigrationClient)Engine.Source.WorkItems);
contextLog.Information(
"!! After removing all found work items there are {SourceWorkItemCount} remaining to be migrated.",
Expand Down

0 comments on commit 653bdc8

Please sign in to comment.