It's all about the answers!

Ask a question

How to override precondition when saving workitem using Java API


Marcin Blacha (146214) | asked Mar 05 '21, 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 (63.1k33645) | answered Mar 05 '21, 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.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.