I'm trying to import issues from Bugzilla 2.20 into YouTrack using the bugzilla2youtrack.py script, but every time I try and execute it I get an error result as follows:
Traceback (most recent call last):
File "../ytimp/bugzilla2youtrack.py", line 348, in <module>
File "../ytimp/bugzilla2youtrack.py", line 29, in main
bz_product_names, lambda issue: True)
File "../ytimp/bugzilla2youtrack.py", line 254, in bugzilla2youtrack
link_types = client.get_issue_link_types()
File "C:\ytimp\bugzilla\bzClient.py", line 74, in get_issue_link_types
File "C:\Python\lib\site-packages\MySQLdb\cursors.py", line 174, in execute
self.errorhandler(self, exc, value)
File "C:\Python\lib\site-packages\MySQLdb\connections.py", line 36, in default
raise errorclass, errorvalue
_mysql_exceptions.OperationalError: (1054, "Unknown column 'custom' in 'where clause'")
My initial thoughts are that the database structure in this old version of Bugzilla may be different in some way to the newer versions (an opinion supported by the error message). Is there a way to modify the script or process to successfully import this data?
The only other thing I can think of would be that the amount of data may be too much for the script to handle.