How to store negative value in Duration field in RTC task??
One answer
As far as I can tell duration is a long value so you could get it negative. It just does not seem to make sense for me, why you would want that. I am not sure what the editor presentations and other calculations will do if the value is negative. It is certainly not designed and tested for this.
Comments
Actually I have created 1 attribute with Duration datatype in RTC WI. And I want to store calculated value in it which will be (Estimate time - Timespent). As if owner of Work item will estimate 4 hours and actually he needed 5 hours i.e.Timespent then it will return negative value.
In that case i wanted to show calculated negative value in New attribute.
You are aware that the editor presentation would not allow you to save a work item where the time spent time is bigger than the estimate (or corrected estimate)?
Since this is the case it would be pointless to have this as far as I know.
Comments
Geoffrey Clemm
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER Jul 04 '16, 1:04 p.m.Just for interest's sake, what is the meaning of a negative duration?