How to import attachment via CSV i have API token

Vikrant Yadav
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 7, 2020

Hi,

I am trying to import attachment from CSV file, i am having API token , i am trying to import attachment like :- 04/Nov/19 11:39 AM;vikrant-yadav2;clean_data_prod.png;https://jira.mercer.com:<1noYA9reF6kxLghSlkO0145A>@owlabs.atlassian.net/secure/attachment/53513/clean_data_prod.png 

 

but it's not working. PLease suggest how do i need to write attachment path using API token so that i can import from Cloud to Server. I have access of both JIRA

1 answer

1 accepted

0 votes
Answer accepted
Adrian Stephen
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 8, 2020

Hi @Vikrant Yadav 

 

Have you tried the steps here ?:

Importing attachments

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, Comment
bob@example.com, "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"
bob@example.com, "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.

Suggest an answer

Log in or Sign up to answer