Importing CSV with special character enclosing fields

I have been tasked with migrating some projects from Mantis to JIRA, but with some restrictions:

  1. None of the custom fields in Mantis should be brought over (we are trying to clean up our bug tracking instances)
  2. Only public comments should be brought over

Given these 2 requirements, I have been forced to use a CSV import. The issue I am having is importing the comments in. Our comments have special characters in it, including apostrophes, quotes, parens, greater/less than, etc. The only character the comments don't have is the backtick (`). When I do my export from MySQL i am using this backtick to enclose each field, separating them with commas.

Is it possible to specify to the JIRA CSV importer which character is enclosing the comments?

1 answer

1 accepted

No, it's not possible. You always use " to surround the text and then you can put anything inside.

Check the documentation for details https://confluence.atlassian.com/display/JIRA/Importing+Data+from+CSV#ImportingDatafromCSV-Treatingspecialcharactersliterally

But I wonder why did you decide to go with CSV.

I think the easiest option in your case would be to copy Mantis database, then delete all the stuff you don't want and import it from there.

Have you tried this approach?

The Mantis database is huge and we are doing this on a project by project basis, so it would be a long arduous practice to have to delete everything from the db every project. I will check the documentation again to see if there is an easier way of handling my data. Thanks Pawel!

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,772 views 11 18
Join discussion

Atlassian User Groups

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!

Find my local user group

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

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot