Time since chart shows the wrong month when using Due date or custom field

XMLWordPrintable

    • 2
    • Severity 3 - Minor

      Summary

      Time since chart gadget shows the wrong month when you rest the mouse over the bars in the Dashboard, it was reproduced using a date picker custom field or the field Due Date.

       

       

      When you use fields such as Created date or updated it doesn't happen

      Customer Impact

      Environment

      *

      Steps to Reproduce

      1. Create a custom field type Date picker and add it to the screens (or just use the Due date field)
      2. Fill the date field on some issues using different months. For example, put a couple of issues with a Due date on October, other 2 in November and other 2 on December
      3. Create a new Dashboard by clicking on Dashboard > Manage Dashboard > Create Dashboard
      4. Add the gadget Time since chart and configure it to:
        • Filter: Add the project or a filter with the issues where you added the Due date
        • Date Field: Due date (or a custom field)
        • Period: Monthly
        • Days Previously: 90
        • Cumulative totals: No
      5. Save

      Expected Results

      It should show 3 bars with the 3 months: October, November, December with 2 issues each

      Actual Results

      It shows 3 bars in the wrong months: September, October, November, (nothing in December) with 2 issues each

      Application logs:

      Notes

      When you use fields such as Created date or updated it doesn't happen

      Workaround

      None so far

        1. filter.png
          filter.png
          488 kB
        2. Timesincechart.png
          Timesincechart.png
          282 kB

            Assignee:
            Unassigned
            Reporter:
            aradmann (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved: