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

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 Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Jira

5 ways you can make the most of Jira Software and Bitbucket Cloud

As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...

99 views 0 5
Read article

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