-
Bug
-
Resolution: Fixed
-
Medium
-
None
-
3.10, 3.10.1
-
3.1
-
It is currently possible to enter negative worklog values. These values do not make sense and cause problems when the worklog is rendered and time is aggregated.
Currently negative worklog and duration (the issue's estimates and time spent) values appear as blanks (not rendered correctly) so it is difficult to see what value was actually entered.
The solution is to fix DateUtils in atlassian-core to not accept negatives and instead throw InvalidDurationEx.
To reproduce, you must use a negative number without any character type indicator ("-100" not "-100s"). The value is interpreted as a negative number of seconds.
- causes
-
JRASERVER-13731 Issue Navigator breaks if time spents contains negative value while sorting the work ratio
- Closed
- is duplicated by
-
JRASERVER-6790 Can enter negative work time. Not shown in work log.
- Closed
-
JRASERVER-19223 Entering a negative value in the timespent breaks the worklogs and invalidates the issue
- Closed