I know you can specify the creation date, author, description, and where the attachment file resides in the markup to be used by the CSV importer to import attachments.
Is there any way to include the mime/type information in this markup? If not, how does the importer determine what type of file it is dealing with?
did u try this approach?
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.
URLs for attachments support the HTTP and HTTPS protocols and can be any location that your JIRA server must be able to access. You can also use the FILE protocol to access files in the
import/attachments subdirectory of your JIRA Home Directory.
Hi Fabio, Thanks for the reply.
Yes, we are using the noted markup to import the attachments. To further describe the situation, the attachments are coming from a Bugzilla database, and are extracted to files that are named the same as the attachment ID in Bugzilla. The import CSV is then built to provide the date, author, attachment name, and file name as noted. Unfortunately, since the files are stored as a numeric id for the filename, no mime/type data is implied in the markup.
We attempted to use the bugzilla importer directly, but found that it did not align with our enviroment with regards to workflows, issue types, etc., so we opted to extract the issues to CSV and import that way.
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot