CSV ファイルを使って Jira Cloud アプリケーションに添付ファイルをインポートする
プラットフォームについて: Cloud のみ - この記事は クラウド プラットフォームのアトラシアン製品に適用されます。
問題
基本的な CSV インポート プロセスを使って添付ファイルをインポートしようとしたときに、Jira Cloud アプリケーションに次のようなエラー メッセージが表示されます。
An exception occurred dealing with "<attachment.url>"
診断
ファイルに、パブリックにアクセスできないインスタンス上にホストされている添付ファイルへの参照が含まれています。
原因
ファイルにパブリックにアクセスできないため、Jira Cloud アプリケーションでそれらを取得することができません。
ソリューション
この問題を解決するには、CSV ファイルを修正するか、添付ファイルを個別にインポートします。
CSV ファイルの修正
CSV ファイルの attachments 列で、それぞれの添付ファイルの URL を指定します。
たとえばこのファイルの場合、添付ファイルは https://jira-server:8080 に保存されています。
Assignee, Summary, Description, Attachment, Comment Admin, "Issue demonstrating the CSV attachment import", "Please check the attached image below.", "https://jira-server:8080/secure/attachment/image-name.png", "01/01/2012 10:10;Admin; This comment works" Admin, "CSV attachment import with timestamp,author and filename", "Please check the attached image below.", "01/01/2012 13:10;Admin;image.png;file://image-name.png", "01/01/2012 10:10;Admin; This comment works"
Note that URLs for attachments support the HTTP and HTTPS protocols and can be located anywhere that your Jira Cloud site can access. the URL needs to be externally hosted so the source JIRA instance needs to be Anonymously accessible or on JIRA cloud you can pass in the log in credential as detailed in this KB "Importing attachments into JIRA Cloud using CSV External System Importer"
- 「CSV からのデータのインポート」のステップを使用して CSV をインポートします。