Uploaded image for project: 'SR for Jira - Development'
  1. SR for Jira - Development
  2. SRJIRA-688

script fields - using the date template shows relative dates in column view

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Done
    • Major
    • Resolution: Fixed
    • None
    • 5.0.0, 5.0.1
    • None
    • Sprint 28 - Ends Apr 19, Sprint 29 - Ends 10 May
    • 0

    Description

      This is different from system fields and datetime custom fields, which show the absolute date part only.

      For now, as a workaround, you can use a custom template that takes advantage of the stuff in the Script Field binding. e.g.

      #if ($value)
          <span title="$titleFormatter.format($value)"><time class="allow-future" datetime="$iso8601Formatter.format($value)">$dateFieldFormat.format($value)</time></span>
      #end
      

      Attachments

        Activity

          People

            jcarter Jonny Carter
            jechlin Jamie Echlin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: