Attachment thumbnail cannot be viewed

お困りですか?

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

コミュニティに質問

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

問題

If the attachment folder is accidentally deleted and later restored, the thumbnail image for most of the attachments cannot be viewed in the old tickets. Newly added attachments won't have this issue.

ソリューション

Run the below query in the DB to update the thumbnailable value to 1 for the required file types that you want to see thumbnail for:

UPDATE fileattachment set thumbnailable = 1 where thumbnailable = 0 and mimetype in ('text/html','image/png')

The below query can be used to find the distinct types of attachments available in the Jira

select distinct mimetype from fileattachment ;
  • Please note that these queries were designed for Postgres DB and you may need to modify them as per your DB type.
  • Always backup your DB before running any Insert/Update/Delete statements in the DB



最終更新日 2021 年 8 月 18 日

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

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