CSV Import of Attachments with Filenames including Blanks

Volker Schmitt November 17, 2020

i could not load attachments which have blanks in name.

I get warning "

WARN - Cannot parse ...

from import modul when trying to load files from /var/atlassian/application-data/jira/import/attachments/ 

with hint -> Illegal character in authority at index 7: 

which have blanks in there name like "testfile with blank in name.docx"

i tried too  "testfile+with+blank+in+name.docx" and got

Attachment file not found or not readable, skipping: 

Is it possible to load such files, if yes how ?

 

Documentation is (i try with sample 2):

You can attach files to issues created from your CSV file. To do this, specify the URL of your attachment in an 'Attachments' column within your CSV file.

Assignee, Summary, Description, Attachment, CommentAdmin, "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"

best regards Volker

1 answer

1 accepted

0 votes
Answer accepted
Volker Schmitt November 17, 2020

meanwhile i got it - with the hint to use %20 for blanks i could successfully import the attachments :-) 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events