How to store negative value in Duration field in RTC task??
I want to store calculated negative value in one field of Duration datatype which can be negative.
Is it possible?? |
One answer
Ralph Schoon (63.3k●3●36●46)
| answered Jul 05 '16, 2:23 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
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
Pratima Rajput
commented Jul 05 '16, 5:51 a.m.
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.
Ralph Schoon
commented Jul 05 '16, 5:56 a.m.
| edited Jul 05 '16, 5:57 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
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)?
|
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.
Comments
Just for interest's sake, what is the meaning of a negative duration?