Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-54975

JIRA Issues Macro displays dates in Portfolio's "Target start" and "Target end" one day off

XMLWordPrintable

      Summary

      JIRA Issues Macro displays dates in Portfolio's "Target start" and "Target end" one day off
      This is also replicated in Jira Issues as displayed in Team Calendars.

      Steps to reproduce

      1. In JIRA, create some issues with Portfolio's "Target start" and "Target end"
      2. In Confluence, create a page with the JIRA Issues Macro to display those JIRA issues
      3. In the macro's "Display Options", select "Target start" and "Target end"

      Expected result

      The dates in those issues' "Target start" and "Target end" would be their same dates as in JIRA.

      Actual result

      The dates in those issues' "Target start" and "Target end" are one day off from their dates in JIRA.

      The one day off can also be seen in JIRA's changeitem:

      select * from changeitem where field in ('Target start', 'Target end');
      
      id groupid fieldtype field oldvalue oldstring newvalue newstring
      10200 10200 custom Target start 2017-12-17 17/Dec/17 2017-12-16 17/Dec/17
      10201 10201 custom Target end 2018-01-04 4/Jan/18 2018-01-03 4/Jan/18
      10202 10202 custom Target end 2018-01-11 11/Jan/18 2018-01-17 18/Jan/18
      10300 10300 custom Target start 2017-12-17 17/Dec/17 2017-12-05 6/Dec/17

              a9293dbdc671 Thomas Rogozinski
              don1@atlassian.com Duke (Inactive)
              Votes:
              40 Vote for this issue
              Watchers:
              60 Start watching this issue

                Created:
                Updated:
                Resolved: