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

Jira Issues Macro is not displaying custom date fields in the user time zone

    XMLWordPrintable

Details

    Description

      NOTE: This bug report is for Confluence Server. Using Confluence Cloud? See the corresponding bug report.

      Summary

      Jira Issues Macro is not displaying custom date fields in the user time zone (Confluence), but rather the server time zone (Confluence)

      Environment

      Confluence with applink to Jira

      Steps to Reproduce
      1. In Jira, create a ticket with a custom date field and a custom date time field.
      2. Set the Jira user time zone to be different to the server time zone so that the custom fields display a different date.
      3. In Confluence, create a page with this issue and set the display option to table format with the custom fields.
      4. Set the Confluence user time zone to be the same as the Jira user time zone (assuming Confluence Server time zone is same as Jira).
      Expected Results

      Custom date and date time fields in Jira and Confluence display the same date and time.

      Actual Results

      Custom date and date time fields in Jira is displayed correctly according to user time zone settings while Confluence displays custom date and date time fields in Confluence Server time zone.
      Custom date time fields can also be truncated to just the date and show the wrong date (in server time zone)

      Notes

      This behaviour is seen on both cloud and confluence server.
      Jira rest endpoint is returning the custom date and custom date time fields in Jira user time zone eg <customfieldvalue>Wed, 20 Jul 2016 18:48:00 +0200</customfieldvalue>, JIM macro is incorrectly transforming this to Confluence server time zone instead of Confluence user time zone.

      Workaround

      none so far

      Attachments

        Issue Links

          Activity

            People

              cee80e86d823 Anna-Mariia Chyzhevska
              alwang Alice Wang (Inactive)
              Votes:
              31 Vote for this issue
              Watchers:
              45 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: