tfsaggregator / aggregator-cli

A new version of Aggregator aiming at Azure DevOps (ex Visual Studio Team Services)
https://tfsaggregator.github.io/
Apache License 2.0
74 stars 32 forks source link

Fix saving work items when impersonation is enabled #236

Closed aok-foss closed 3 years ago

aok-foss commented 3 years ago

Fixes #229

Updates WorkItemWrapper field assignment logic so that repeated assignments of the same fields result in correct values of Changes and IsDirty. In particular, setting a field to null and then to a non-null value will no longer result in emitting a Remove operation with a non-null value.

giuliov commented 3 years ago

I opted for a different solution when a field is reset to original value and dirty flag should be cleared.

You can see it in the release/1.1 branch.