Set the timezone for the Java environment for Jira Data Center
プラットフォームについて: Server および Data Center のみ。この記事は、Server および Data Center プラットフォームのアトラシアン製品にのみ適用されます。
サーバー*製品のサポートは 2024 年 2 月 15 日に終了しました。サーバー製品を利用している場合は、アトラシアンのサーバー製品のサポート終了のお知らせページにて移行オプションをご確認ください。
*Fisheye および Crucible は除く
概要
Functionality within Jira applications may be reliant upon the time zone that is configured for the Java environment. The time zone value will be picked up by default from the operating system.
It is also possible to alter this default by passing an additional parameter to the Java Virtual Machine (JVM).
The time zone can be edited by changing the server clock on the server that is running JAVA or changing the properties as explained below.
Change JVM 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 time zone settings, there can be unwanted issues such as:
- Time differences in the date/time fields of the same Jira issue across the nodes
- Cluster Index Replication health check reports delay when the database is in a different timezone than Jira
- Incorrect timestamps displayed in Jira server
The List of TZ Database Time Zones documentation on Wikipedia contains further information on the different time zones that can be set.
タイムゾーンの例
タイムゾーン | コード |
---|---|
シドニー | Australia/Sydney |
ロサンゼルス | America/Los_Angeles |
ニューヨーク | America/New_York |
パリ | Europe/Paris |
ローマ | Europe/Rome |
UTC | UTC |
マドリード | Europe/Madrid |