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

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

      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
          br.png
          104 kB
        2. db.png
          db.png
          41 kB
        3. image.png
          image.png
          790 kB
        4. image-2025-01-17-21-33-06-124.png
          image-2025-01-17-21-33-06-124.png
          352 kB
        5. qt.png
          qt.png
          60 kB
        6. release.png
          release.png
          71 kB
        7. Screenshot 2025-01-17 at 5.42.11 PM.png
          Screenshot 2025-01-17 at 5.42.11 PM.png
          422 kB

            [JIRAAUTOSERVER-1097] When copying a value stored from release/fixversion the copied date is one day behind

            There are no comments yet on this issue.

              Unassigned Unassigned
              b99328de92bd Douglas Alves (Inactive)
              Affected customers:
              1 This affects my team
              Watchers:
              6 Start watching this issue

                Created:
                Updated: