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

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Low
    • None
    • Affects Version/s: 10.3.0
    • Component/s: 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. Screenshot 2025-01-17 at 5.42.11 PM.png
          422 kB
          Priyanka Jiandani
        2. db.png
          41 kB
          Douglas Alves
        3. release.png
          71 kB
          Douglas Alves
        4. br.png
          104 kB
          Douglas Alves
        5. qt.png
          60 kB
          Douglas Alves
        6. image-2025-01-17-21-33-06-124.png
          352 kB
          Priyanka Jiandani
        7. image.png
          790 kB
          Priyanka Jiandani

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

              Created:
              Updated: