Uploaded image for project: 'Automation for Jira Server'
  1. Automation for Jira Server
  2. JIRAAUTOSERVER-1097

When copying a value stored from release/fixversion the copied date is one day behind

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Low Low
    • None
    • 10.3.0
    • Smart-values
    • Severity 2 - Major
    • 1

      Issue Summary

      When using the smart value {{issue.fixVersions.releaseDate{}}} as source of a date, the read date is one day behind of the original fix version / release date.

      This is reproducible on Data Center: (yes)

      Steps to Reproduce

      1. On a project create a fix version and release it. 
      2. Create a rule to copy to a custom field or log the "pure" smart value {{issue.fixVersions.releaseDate{}}} or using date formats as {{issue.fixVersions.releaseDate.jiraDate{}}}
      3. Observe the logged or copied date

      Expected Results

      The correct release date. 

      Actual Results

      The date is one day behind. 

      Workaround

      The release date can be used with ".plusDays(1)" to add this one day.

      Although this may "fix" the date, please keep monitoring the dates to ensure they are correctly used.

      Alternatively (and preferably, as a permanent solution) setting the java timezone and the system timezone to UTC resolves the date mismatch. 

       

        1. br.png
          104 kB
          Douglas Alves
        2. db.png
          41 kB
          Douglas Alves
        3. image.png
          790 kB
          Priyanka Jiandani
        4. image-2025-01-17-21-33-06-124.png
          352 kB
          Priyanka Jiandani
        5. qt.png
          60 kB
          Douglas Alves
        6. release.png
          71 kB
          Douglas Alves
        7. Screenshot 2025-01-17 at 5.42.11 PM.png
          422 kB
          Priyanka Jiandani

              Unassigned Unassigned
              b99328de92bd Douglas Alves (Inactive)
              Votes:
              2 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated: