-
Suggestion
-
Resolution: Won't Do
-
None
-
None
NOTE: This suggestion is for JIRA Server. Using JIRA Cloud? See the corresponding suggestion.
When migrating JIRA to another server, if there are timezone inconsistencies between the two servers it can cause considerable problems with the new server that may not be discovered until problems have been introduced into the dataset. Please enhance JIRA to timestamp an XML backup and provide a warning during XML restore that the backup does not match the server time of the instance it is being imported into.
- Times stored in the database is based on the JIRA JVM user timezone
Workaround
In order to restore the times back to their last known working form, the below process can be used for the new server:
- Generate an XML backup from the previous server, or obtain the last-known working one and copy it to the new JIRA server.
- Schedule a downtime window.
- Stop the new JIRA server.
- Either:
- Set the JVM timezone argument, e.g.: -Duser.timezone=GMT, as in Setting Timezone in JIRA.
- Change the System Time of the server that the JVM is running on (the JVM will default to that time).
- Start the new JIRA server.
- Import the XML backup from the previous server.
- Test JIRA.
If the server is unable to be rolled back, the below can be followed, however this is not the recommend method and may cause additional problems due to time inconsistencies.
- Schedule a downtime window.
- Export the XML backup.
- Stop JIRA.
- Either:
- Set the JVM timezone argument, e.g.: -Duser.timezone=GMT, as in Setting Timezone in JIRA.
- Change the System Time of the server that the JVM is running on (the JVM will default to that time).
- Start JIRA.
- Import the XML backup.
- Test JIRA.
- causes
-
JSWSERVER-5433 Restoring Sprint data in a different server timezone broken
- Closed
- is related to
-
JSWSERVER-20247 Date Time field not preserved after removing JVM timezone argument
- Gathering Impact
- relates to
-
JRACLOUD-26039 Verify the system timezone when an XML backup is restored
- Closed
- mentioned in
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...