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

JIRA Issues macro does not show time portion for JIRA custom datetime fields

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Medium
    • None
    • 4.1.9, 4.3.3, 5.3, 5.6.5, 5.7.1, 7.4.11, 8.1.0, 8.2.0, 8.3.0, 8.4.0, 8.5.0, 8.6.0, 7.19.16, 8.7.1
    • Integrations - Jira
    • Verified with JIRA 5.1.1.
      Verified with JIRA 6.3.12.

    Description

      When using the JIRA issues macro on a confluence page to display issues with custom datetime fields, the date is shown, but not the time.

      Steps to Reproduce

      1. Create a custom Date Time field in JIRA
      2. Add some issues that enter a value in the custom field
      3. Add the custom field to the search results in JIRA
      4. View a search that shows the issues and the custom field
      5. In the search results, go to Views, right click on XML and select Copy Link Location
      6. Link Confluence and JIRA together
      7. Create a page and add the JIRA Issues Macro
      8. Enter the name of the custom field in columns
      9. Observe that the date is displayed, but not the time

      Possible workaround

      If you change the Date Format under Administration > General configuration, to include the timestamp, the macro will display the time portion too, however this does not only affect the operation of the macro, but all parts of Confluence, so consider the implementation of such a change.

      This does not only affects custom fields with date/time picker type but built-in fields too.

      Attachments

        1. custom date field Confluence.png
          5 kB
          Denise Unterwurzacher [Atlassian]
        2. custom date field JIRA.png
          24 kB
          Denise Unterwurzacher [Atlassian]

        Issue Links

          Activity

            People

              Unassigned Unassigned
              e57a6e4cda4c Guy Hood
              Votes:
              108 Vote for this issue
              Watchers:
              97 Start watching this issue

              Dates

                Created:
                Updated: