Jira Issues Dates events' times are offset by an hour in Confluence Team Calendar

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問

プラットフォームについて: Server および Data Center のみ。この記事は、Server および Data Center プラットフォームのアトラシアン製品にのみ適用されます。

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.

*Fisheye および Crucible は除く

プラットフォームについて: Data Center のみ - この記事は、Data Center プラットフォームのアトラシアン製品にのみ適用されます。

この KB は Data Center バージョンの製品用に作成されています。Data Center 固有ではない機能の Data Center KB は、製品のサーバー バージョンでも動作する可能性はありますが、テストは行われていません。サーバー*製品のサポートは 2024 年 2 月 15 日に終了しました。サーバー製品を利用している場合は、アトラシアンのサーバー製品のサポート終了のお知らせページにて移行オプションをご確認ください。

*Fisheye および Crucible は除く

問題

In Confluence Team Calendar, any events of Jira Issue Dates event type would list the events date and time based on the user's timezone preference set in the User Profile. However, the listed time would be offset by an hour whenever we set the -Duser.timezone=Asia/Tokyo in Jira instance's JVM arguments.


原因

Team Calendar uses ical4j library that applies its own timezone implementation, on top of the overridden JVM's timezone configured in Jira instance. Due to this, Jira would then returned event's time that are offset by an hour from the original event's time. 

回避策

To workaround this, we'd then need to add the following JVM parameter in Jira's setenv.sh file to disable iCal4j's TimeZone implementation and enforced the use of configured default Java timezone in Jira.

JVM_SUPPORT_RECOMMENDED_ARGS="-Duser.timezone=Asia/Tokyo -Dnet.fortuna.ical4j.timezone.update.enabled=false"


(warning)  Please restart both Jira and Confluence instance after changing the JVM parameters accordingly.


説明
製品
最終更新日 2021 年 6 月 10 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.