Skip to content

Commit

Permalink
[preview] a posible fix for #1959 is to update closeddate first. befo…
Browse files Browse the repository at this point in the history
…re state! (#2062)

a posible fix for #1959 is to update closeddate first. before state!
  • Loading branch information
MrHinsh authored May 23, 2024
2 parents fc6f7f3 + b3e0466 commit 3a91926
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -456,6 +456,7 @@ private void PopulateWorkItem(WorkItemData oldWorkItemData, WorkItemData newWork
}

newWorkItem.Title = oldWorkItem.Title;
newWorkItem.Fields["Microsoft.VSTS.Common.ClosedDate"].Value = oldWorkItem.Fields["Microsoft.VSTS.Common.ClosedDate"].Value;
newWorkItem.State = oldWorkItem.State;
newWorkItem.Reason = oldWorkItem.Reason;

Expand Down

0 comments on commit 3a91926

Please sign in to comment.