Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-72842

Include syntax for credentials in csv attachment import

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Unresolved
    • None
    • Documentation - All
    • None
    • 0
    • We collect Jira feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

      Issue Summary

      The instructions for CSV imports include examples of attachment address syntax, but do not include the syntax for authenticating with Jira to download the attachments.

      Steps to Reproduce

      1. Follow the instructions for importing here: https://confluence.atlassian.com/adminjiraserver/importing-data-from-csv-938847533.html
      2. Use the example syntax for http/https-based Jira URLs, and modify the csv according to the instructions
      3. Perform the import

      Expected Results

      Attachments will be downloaded

      Actual Results

      Attachments are not downloaded.  Instead, html error files are downloaded for every attachment because the download requests are not authenticated.

      Workaround

      We should update the import instructions to include the following syntax, which is included in this Jira cloud KB:

      14/Feb/19 3:53 PM;admin;image.png;https://<JIRA-Server-Username>:<JIRA-Server-Password>@myjirasite.com/secure/attachment/10000/image.png 

      This syntax is not just for importing into Jira Cloud, but for any import that pulls attachments from any Jira instance where those attachments are not publicly exposed.

              a803384f6b1d Tomasz Prus
              2465d1b7d8cb Daniel C Berlin
              Votes:
              2 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated: