How to retrieve a particular Custom field value from the 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 は除く

要約

To retrieve a particular Custom field value for a particular Issue via an SQL query to the database.

ソリューション

次のクエリを実行します。

select cfv.* from customfieldvalue cfv join customfield cf on cfv.customfield = cf.id where cf.cfname = '<Custom Field Name>' and cfv.issue = (select jiraissue.id from jiraissue join project on jiraissue.project = project.id where project.pkey = '<Project Key>' and jiraissue.issuenum = '<Issue Num>');

ℹ️ This is tested using PostgreSQL. Please modify it according to the needs of your database.

更新日時: September 25, 2025

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

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