Find all issues that have the same creation and resolution date via database

プラットフォームについて: 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 は除く

要約

In some cases it can happen that when an issue moves through the stages that depending on how it was created or handled that the resolution date is equal to the creation date.

環境

Jira

診断

To find these issue run a query like the following example where the issue contain a certain string in the summarry.

select id , issuenum , project , reporter , assignee , issuetype , created , resolutiondate FROM jiraissue WHERE SUMMARY like 'MMEA%' AND CAST(created AS DATE) = CAST(resolutiondate AS DATE);

原因

Can be caused when an issue is resolved on the same day as it was created and then was reopened. Other scenario's could be that a REST request or script that contained this data and needs to be corrected.

ソリューション

To clear the resolution date, you can use the following query

UPDATE jiraissue SET RESOLUTIONDATE = null WHERE SUMMARY like 'MMEA%' AND CAST(created AS DATE) = CAST(resolutiondate AS DATE);

更新日時: September 26, 2025

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

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