Hi Everyone,
I have seen multiple videos in YouTube for uploading bulk attachments in a Jira ticket using a python script. But i could not find anything on how to upload multiple attachments in multiple tickets using a csv file.
Similar to this: Solved: Jira CLI -- how to bulk upload attachments? (atlassian.com)
Can someone help me with a script as I'm not aware of coding. Please guide me on this process.
I guess you can achieve this by using built in CSV import feature.
If you would look at this documentation
https://support.atlassian.com/jira-cloud-administration/docs/import-data-from-a-csv-file/
you would notice this part:
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;<your email address or Atlassian account ID>; 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;<Atlassian account ID>;image.png;file://image-name.png", "01/01/2012 10:10;<your email address or Atlassian account ID>; 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.
So this is definitively possible and not requires scripting (only preparing CSV file). If you want to update existing issues (add an attachment later) then you have to add additional column (for key to be recognized by Jira) - that is also described in the documentation above.
My request is to upload the attachments from local device by pasting the path in CSV file with Issue key.
If we use above documentation, then do we have to upload the invoices anywhere in Jira Cloud like Confluence etc?
Or can we paste Google Drive link?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.