Discarding/Reversing Work Item State Changes
2 answers
No.
And if you really think about it, the concepts don't match either. The changeset does not go away at all.
Comments
showing 5 of 6
show 1 more comments
luckily that's exacting what we need to create a custom client extension to discard/reverse work-item state changes.IWorkItemexposes a methodsetState2(Identifier value)which could be used to directly set the workflow state of a work item. However, this method is deprecated. The reason to deprecate it is most likely related to the fact that directly setting the workflow state of a work item does not respect the workflow. Essentially it would be possible to set a workflow state that is not even reachable from the current workflow state.
Thank you all.
Cheers.