How to override precondition when saving workitem using Java API
Hi,
I.m wondering is it possible to ovverride checking preconditions on save workitem operation, when using client Java API? In WebUI when using option Import workitems from CSV there is option named:
"Overrule any permissions or preconditions for saving work items (Requires JazzAdmin privileges)"
so I assume, that it should be possible to do.
One answer
I am not aware that there is such a capability at the supported API layer.
The code above certainly uses the JazzAdmin privileges to override something at a deeper level. I am pretty sure you should not even attempt that. Use the process configuration e.g. remove the precondition for certain roles, if you want to.