SQL Exception on Oracle Due to JIRA Charting Plugin

プラットフォームについて: Data Center のみ。 - This article only applies to Atlassian apps on the Data Center プラットフォーム

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

*Fisheye および Crucible は除く

症状

When using the JIRA charting plugin, an SQL exception is thrown:

2008-02-25 15:32:40,623 http-8080-Processor24 ERROR [plugin.report.timecharts.TimeChart] org.ofbiz.core.entity.GenericDataSourceException: SQL Exception while executing the following:select changegroup.CREATED, jiraissue.pkey, changeitem.FIELD, changeitem.OLDVALUE, changeitem.OLDSTRING, changeitem.NEWVALUE, changeitem.NEWSTRING, changeitem.FIELDTYPE from changegroup, changeitem, jiraissue where changegroup.ID=changeitem.groupid and changegroup.issueid=jiraissue.ID and changegroup.CREATED > '2008-01-26 00:00:00' and changeitem.FIELD in ('status','Project','resolution','Fix Version') order by changegroup.CREATED desc (ORA-01861: literal does not match format string)

原因

This is caused by the default format of the Oracle which doesn't match the timestamps in JIRA.

ソリューション

You may need to set the correct date format in the oracle database. See Oracle's documentation for information on how to set the time format for Oracle.

更新日時: September 25, 2025

さらにヘルプが必要ですか?

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