Discarding/Reversing Work Item State Changes
2 answers
![]()
Ralph Schoon (62.3k●3●36●43)
| answered Feb 18 '18, 2:57 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER No.
Comments
Obviously, discarding/reversing change sets was just a naïve example to try to explain what we would be able to obtain: we have some users who would to undo last work-item state change (e.g., made for mistake) and that's not possible but maybe there is some admin internal APIs we are not aware of to undo last "transaction" of work-item state change...
Thanks in advance.
Cheers.
![]() FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
No, not that I am aware of. You could programmatically iterate the history of the work item to get the values and set them using the API (if the process supports it). And state changes are problematic as the reverse action night not even be available.
The API to just set a state is deprecated and since it does not use an action, it also gets unnoticed by all the process advisors.
That's could be a useful tricky, thank you! Which is the Java API method you are referring to?
Thanks in advance.
Cheers.
https://rsjazz.wordpress.com/2012/11/26/manipulating-work-item-states/
That's working, thank you!
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.
Thank you all.
Cheers.
|