Set the timezone for the Java environment

Still need help?

The Atlassian Community is here for you.

Ask the community


Platform notice: Server and Data Center only. This article only applies to Atlassian products on the Server and Data Center platforms.

Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible

Overview

Functionality within Jira applications may be reliant upon the timezone that is configured for the Java environment. The timezone value will be picked up by default from the operating system, however it is possible to alter this default by passing an additional parameter to the Java Virtual Machine (JVM).

The timezone can be edited by changing the server clock on the server that is running JAVA or changing the properties as explained below.

Changing the Timezone

The value of the timezone can be altered with the below JVM argument, which is set as per our Setting Properties and Options on Startup documentation. The below example would be used to set it for America/Chicago:

-Duser.timezone=America/Chicago

If the Jira Data Center application is using a cluster of nodes, and if the nodes have different Timezone settings, there can be unwanted issues such as:

(info) The List of TZ Database Time Zones documentation on Wikipedia contains further information on the different Timezones that can be set.

Example Timezones

TimezoneCode
SydneyAustralia/Sydney
Los AngelesAmerica/Los_Angeles
New YorkAmerica/New_York
ParisEurope/Paris
RomeEurope/Rome
UTCUTC
MadridEurope/Madrid
Last modified on Mar 7, 2024

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.