Uploaded image for project: 'Jira Platform Cloud'
  1. Jira Platform Cloud
  2. JRACLOUD-77633

When transitioning a ticket using time tracking as Days, Jira returns a 500 error

      Issue Summary

      When transitioning a ticket using time tracking as Days, Jira returns a 500 error.

      It will occur whenever the "remaining time" estimate in the issue cannot be converted evenly from number of seconds to the current formatting and then back to whole minutes.

      i.e. The remaining time estimate renders as 0.06d, which when converted back to seconds doesn't divide evenly into minutes

      Steps to Reproduce

      1. In time tracking menu (<sitname>/secure/admin/TimeTrackingAdmin.jspa) set the config for "Time display format" to "Days" and the "Default unit for time tracking" to minutes.
      2. Pick an issue in the site and set the remaining time estimate on it to 29min or 0.06d
      3. Ensure that the workflow for this ticket has a status transition with a screen which includes the time tracking field
      4. Attempt to transition the relevant issue, setting a "time logged" to 1m

      Expected Results

      It's expected that when logging time to an issue, you should be able to transition the ticket without any issues, even if the user is using time remaining format in Days.

      Actual Results

      Jira returns a 500 error once you transition the issue.
      As a result there are error logs in the Back-end saying: "Error occurred while converting time estimates:Durations must be in whole minutes"

      Workaround

      1. The workaround is to switch the site's formatting to "Pretty" in <sitname>/secure/admin/TimeTrackingAdmin.jspa
      OR 
      2. ensure the remaining time estimate when rendered as a fraction of a day always converts evenly to whole minutes (so 0.1d instead of 0.06)

          Form Name

            [JRACLOUD-77633] When transitioning a ticket using time tracking as Days, Jira returns a 500 error

            Atlassian Update - March 23, 2023

            Hi everyone,

            Thank you for previously raising this bug and bringing it to our attention.

            Within our company roadmap and work capacity, we try to address or review each bug request but admit that not each one will be resolved. To continue the culture of being honest and open, we are closing this bug to focus on our upcoming roadmap for all Jira users.

            As we continue to roll out features we do look at requests made by our users and if you feel like this bug is still impacting your team please let us know.

            Thank you again for providing valuable feedback to our team!
            Jira Cloud team

            Matthew Hunter added a comment - Atlassian Update - March 23, 2023 Hi everyone, Thank you for previously raising this bug and bringing it to our attention. Within our company roadmap and work capacity, we try to address or review each bug request but admit that not each one will be resolved. To continue the culture of being honest and open, we are closing this bug to focus on our upcoming roadmap for all Jira users. As we continue to roll out features we do look at requests made by our users and if you feel like this bug is still impacting your team please let us know. Thank you again for providing valuable feedback to our team! Jira Cloud team

              Unassigned Unassigned
              eda4bad1cc88 Felipe Gaiotto
              Affected customers:
              0 This affects my team
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: