Import via Python fails
Completed
Hey YouTrack team,
I exported a small test data set of 4 tickets from YouTrack as CSV file and tried to import it via Python (into the same system). The import fails with the following output:
File "C:/repo/youtrack-rest-python-library/python/csv2youtrack.py", line 208, in get_project
raise Exception("Bad csv file")
Exception: Bad csv file
ERROR: issue does not contain a project_name key called "Project"
First, I got the message that the key called "Projekt" (German for Project) was missing. I thought there was a bug that with a YouTrack instance in German you could not export the issues via CSV, however, after changing the language to English, the message remains. Any suggestions? I would like to attach the .csv file, but the file type is not permitted here neither is .txt.
Regards,
Thomas
Edit:
I figured out that I am missing the mapping file mentioned here.
Please sign in to leave a comment.
Hi Thomas, it looks like your CSV file has incorrect format. We can recommend you to send us your CSV file + the mapping file to youtrack-feedback@jetbrains.com, we'll be able to help and provide more information about the issue.