Importing tickets Follow
Hi,
Does the Python Client library import all the attachments associated with Trac tickets into You Track? I'm trying to move away from Trac to YouTrack. I use the Python lib to import the tickets into YouTrack but I do not see any of the attachements in You Track?
Does the Python Client library import all the attachments associated with Trac tickets into You Track? I'm trying to move away from Trac to YouTrack. I use the Python lib to import the tickets into YouTrack but I do not see any of the attachements in You Track?
Please sign in to leave a comment.
Yes, attachments could be imported.
Do you import to InCloud or Stand-alone YouTrack? Please, check that you are logged in both instances: YouTrack and Trac with the same Admin user, same credentials.
What was the error message after the failed attempt to import? Please, attach output logs here or send them to youtrack-incloud-support@jetbrains.com .
Thank you.
Now for some reason YouTrack is getting the path to the attachments from Trac wrong. I'm not sure how it determines the path to use for the attachments. For example, this is a path the script is using for a Trac attachment, but there is no file at this path. But I can clearly open this file attached to ticker 447 from Trac.
C:\DciDevelopmentCenter/attachments/ticket/447/FactorDashboard20130326.jpg.
The log message in the script is
Processing attachment [ C:\DciDevelopmentCenter/attachments/ticket/447/FactorDashboard20130326.jpg ]
Any insights on what might be going on here? FYI, the trac enviroment is at C:\DciDevelopmentCenter but there is no attachments folder there. There is a C:\DciDevelopmentCenter\files\attachments\ticket folder under which there are folders with random names. See the attachment.
What version of Trac do you use?
Sorry for the delay.
I've just fixed the issue with attachments. Please, download the latest library version and try again.