It's all about the answers!

Ask a question

How to override precondition when saving workitem using Java API


Marcin Blacha (14616) | asked Mar 05, 4:58 a.m.
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



permanent link
Ralph Schoon (58.2k23642) | answered Mar 05, 5:30 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

 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. 

Your answer


Register or to post your answer.