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

Report Drilldown calculating incorrect period by month

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Low Low
    • 3.5.0
    • 3.3.1
    • Reports
    • None

      Summary

      Reports showing years are showing the incorrect number of issues when drilling down into the data.

      Steps to Reproduce

      1. Data needs to be collected over many months to see the inconsistencies.
      2. View a report showing past year by month
      3. Click on the number for the month to expand the details

      Expected Results

      The number of issues for the month should for the calendar month. For example, February should return back all the results from February. If 5 issues are shown for February, 5 issues should be displayed.

      Actual Results

      Issues from March are included in February on the drilled down data, instead of 5 issues being shown 9 are displayed.

      Notes

      When using month this results in something like:
      February 2017 is selected
      Period calculated as March 2016 - February 2017
      When calculating from this the start and end date for only February it uses the interval duration from first month, which is March.
      The problem is that March has more days than February, so it comes up with a period overflowing into March.
      The problem is even worse for January, as the code somehow calculated 1 December to 1 30 January as the period, since January has 31 days so it ends up in November before flattening that to the start of the month

      Workaround

      No workaround.

              mmcmahon Matthew McMahon (Inactive)
              khannon Keri Duthie (Inactive)
              Votes:
              4 Vote for this issue
              Watchers:
              9 Start watching this issue

                Created:
                Updated:
                Resolved: