Uploaded image for project: 'Jira Service Management Data Center'
  1. Jira Service Management Data Center
  2. JSDSERVER-7104

Uncaught exception in DateTimeRange during reporting when gathering timeline details

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • High
    • 4.19.0
    • 4.3.1, 4.13.20
    • SLA
    • None

    Description

      Issue Summary

      Some reports in a Service Desk project break when using any time scale above 14 days. This happens during reporting when gathering timeline details.

      Steps to Reproduce

      With JSM 4.3.1, run reports with any time scale above 14 days.

      Expected Results

      Reports should work fine.

      Actual Results

      Reports are failing with the below error.

      2021-01-06 15:53:45,852 http-nio-9000-exec-1893 url:/rest/servicede...desk/IT/report/811 username:motto ERROR motto 953x30902675x2 1w873ps 71.242.86.21,35.190.16.123,130.211.0.71,10.104.5.8 /rest/servicedesk/reports/1/servicedesk/IT/report/811 [c.a.p.r.c.error.jersey.ThrowableExceptionMapper] Uncaught exception thrown by REST service: com.atlassian.servicedesk.internal.sla.metric.DateTimeRange - the START time of the DateTimeRange (2020-11-17T22:24:21.325Z) must be less than or equal to the STOP time (2020-11-17T22:24:13.012Z)
      java.lang.IllegalArgumentException: com.atlassian.servicedesk.internal.sla.metric.DateTimeRange - the START time of the DateTimeRange (2020-11-17T22:24:21.325Z) must be less than or equal to the STOP time (2020-11-17T22:24:13.012Z)
              at com.atlassian.servicedesk.internal.sla.metric.DateTimeRange.<init>(DateTimeRange.java:38)
              at com.atlassian.servicedesk.internal.sla.model.Timeline.getRanges(Timeline.java:136)
              at com.atlassian.servicedesk.internal.sla.model.Timeline.getPausedRanges(Timeline.java:81)
              at com.atlassian.servicedesk.internal.sla.metric.TimeMetricCalculationServiceImpl.getAllCycleMetricData(TimeMetricCalculationServiceImpl.java:35)
              at com.atlassian.servicedesk.internal.sla.metric.SLALuceneDocumentDataManagerImpl.getDataFromMostRecentCycle(SLALuceneDocumentDataManagerImpl.java:46)
      

      The fix for https://jira.atlassian.com/browse/JSDSERVER-6260 was applied specifically to SLA sorting. Here we are seeing issue with reporting.

      Workaround

      Currently there is no known workaround for this behavior. A workaround will be added here when available

      Attachments

        Issue Links

          Activity

            People

              bornatowski Bartosz Ornatowski
              bb910e3a9598 Veenit Doshi
              Votes:
              2 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Backbone Issue Sync