How to set null value to an workItem attribute
If I try to set a timestamp value to an attribute of a workItem it works fine
workItemCopy.setValue(attrVar, timeStampValue);
workItemClient.saveWorkItem(workItemCopy, null, monitor);
This is ok, BUT,
if instead of timeStampValue I put null, as in:
if instead of timeStampValue I put null, as in:
workItemCopy.setValue(attrVar, null);
workItemClient.saveWorkItem(workItemCopy, null, monitor);
If fails.
So the question is: how to set attrVar to null
Accepted answer
This works for me.