SQL query to get the details of attachments uploaded in Jira issues for configurable number of days or months.
プラットフォームについて: 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 this article, we will outline a scenario in which users seek to retrieve attachment details from Jira tickets for a customizable duration of time, be it days or months.
環境
Jira Software 8.x, 9.x
ソリューション
The following query retrieves the details of attachments for all Jira issues. Users have the flexibility to set the date according to their specific requirements.
select
fa.id,
fa.filename,
p.pkey as project,
ji.issuenum
from
fileattachment fa
join jiraissue ji on
ji.id = fa.issueid
join project p on
p.id = ji.project
where
fa.created > '2023-10-17 07:55';更新日時: September 26, 2025
この内容はお役に立ちましたか?
さらにヘルプが必要ですか?
アトラシアン コミュニティをご利用ください。