Importing attachments into JIRA Cloud applications using CSV files

お困りですか?

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

コミュニティに質問

プラットフォームについて: Cloud のみ - この記事は、 クラウド プラットフォームのアトラシアン製品にのみ適用されます。

問題

Using the basic CSV import process, JIRA Cloud applications display a similar error message to the following when trying to import attachments:

An exception occurred dealing with "<attachment.url>"


診断

The file contains references to attachments that are hosted on an instance that is not publicly accessible.

原因

As the files are not publicly accessible, the JIRA Cloud application is unable to retrieve them.

ソリューション

To resolve this issue, you can either fix the CSV file, or import the attachments separately.

Fix the CSV file

  1. In the CSV file, specify the URL of each attachment in the attachments column.

    For example, in this file, the attachment is stored in 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"

    (warning) 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"

  2. Import the CSV using the steps in Importing data from CSV.
最終更新日: 2019 年 12 月 11 日

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

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