I have the following CSV file:
125653,"Defect","Manager: GUI - Unable to start multiple stopped instances ","Accepted","Armen","190112.jpg"
It fails to upload the attachment. What is the workaround? What directory should the attached file be?
JIRA CSV Importer supports only file import via URLs. So in your CSV file you have to include full URL to each of the file you want to import. Then you have to expose your files via HTTP or HTTPS. You can easily try this out using dropbox.com - where files can be accessible via http. In normal production environment we would expect customers to expose these files via HTTP (or HTTPS) on some internal web server.
For Windows users (tried out on Win 7 Professional) you can quite easily do that without too much hassle:
This article should help you http://support.microsoft.com/kb/323470 - just do not bother about security part - the best for this exercise is to allow anonymous access
file:// protocol is not supported due to security reasons - it would be possible to access any file from the server which JIRA instance is hosted. JIRA does protect local file system from being accessed. Even JIRA system admins can access normally only $JIRA_HOME directory and its subdirectories.
I've just realized that the documentation for this part of CSV importer needs improvement. That will be fixed.
Thank you, Wojciech. When I included the attachment url, JIRA added viewattachment under the Attachments and under Activity/Comments inserted the url for attachment but not file itself. Is it possible to insert the file? Then we do not need to keep the old defect tracking system just to access the attachment.
That's strange. The importer should copy the content of the files from given URLs. If it does not - that's looks like a wrong configuration or a bug in it. Could you raise a bug on https://studio.atlassian.com/browse/JIM and give there more details (including your cfg file, a screenshot of your field mapping screen, the etc.)?
I see the problem is in how we access the attachment. The url is
where viewattachment is the script with 2 parameters added. JIRA considers the part before ? as the url to attachment and it strips the rest. Is there any workaround?
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
I am the product of AIM. I can hear that door swinging open and closed in my mind with absolute fidelity. I’d recognize that ding anywhere. At 15, as I typed away into AOL IM, I never imagined that ...
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
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs