You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
aok-foss
changed the title
Impersonation dose not work when a rule updates the same work item
Impersonation does not work when a rule updates the same work item
Nov 18, 2020
Steps to reproduce
Make a rule that triggers on a work item update and then updates the same work item. Enable impersonation for that rule.
Expected behavior
The rule triggers impersonated.
Actual behavior
No impersonation.
This is because inside TfsAggregator the WorkItemStore tries to emit a JsonPatchOperation that will do the impersonation:
aggregator-cli/src/aggregator-ruleng/WorkItemStore.cs
Line 158 in dbdf4b5
But inside WorkItemWrapper the change is ignored:
aggregator-cli/src/aggregator-ruleng/WorkItemWrapper.cs
Line 368 in dbdf4b5
Environment
Aggregator 1.0.0 running in Azure Functions on Windows
The text was updated successfully, but these errors were encountered: