In Work Log(time tracking) field adding value as 4.1d, 8.2d 8.7d for an issue the error "invalid time duration" is displayed

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Low
    • None
    • Affects Version/s: 11.3.3, 10.3.18
    • None
    • 10.03
    • 1
    • Severity 3 - Minor

      Issue Summary

      While adding value in the Time Spent/Time Remaining field  as 4.1h or 8.2h for an issue the error "Invalid time duration entered" is displayed.

      In my testing, I found certain values work and certain values don't, so between 8.0h and 8.9h  (one decimal) place everything works except 8.2d and 8.7d. But I haven't spotted any pattern for it. Although 8.2d fails, 4.2d works. Similarly, 8.1d works, but 4.1d fails.

      Time value Works?
      8.1d
      8.2d
      8.3d
      8.4d
      8.5d
      8.6d
      8.7d
      8.8d
      8.9d
      4.1d
      4.2d
      4.7d

      Steps to Reproduce

      1. Go to Settings > Issue > Time Tracking, set the 'Default unit for time tracking' to Minute or Hour(which default setting).

      2. Click Create button, and add the Log work >Time Spent

      3. Add the time as 4.1d or 8.2d or 8.7d to display the error

      4. Click Create to create the issue. 

       

      Expected Results

      No errors and time to be set as 4.1d, 8.2d or 8.7d

      Actual Results

      We get an error message "Invalid time duration entered"

      Workaround

      From Settings > Issue > Time Tracking, change the 'Default unit for time tracking' to Day

      or Enter time in Hours or minutes (eg. 1w 3d 1h 36m)

        1. default unit-minutes.png
          436 kB
          Saima Ali Sayyed
        2. Error-8.2d.png
          210 kB
          Saima Ali Sayyed
        3. Workaround.png
          397 kB
          Saima Ali Sayyed

              Assignee:
              Unassigned
              Reporter:
              Saima Ali Sayyed
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: