redmine2youtrack (InCloud) Failure: so many bugs since utils separated from REST API

I have had so many issues trying to use the `redmine2youtrack` tool since you guys separated the utilities and the rest api into separate packages. I used it before, about 3 weeks ago on this exact redmine instance and had no issues with importing into YouTrack, it worked slow, sure, but perfectly.

Now, yesterday there are missing dependencies that need to be installed, it can't find the `youtrack` package without installing it with pip, and finally this:

<pre>

redmine2youtrack -a *********** <redmine url> https://vadacom.myjetbrains.com/youtrack <youtrack user> <youtrack pw> <redmine project identifier string>
===> Import Roles
Traceback (most recent call last):
File "/home/br/.local/bin/redmine2youtrack", line 11, in <module>
sys.exit(main())
File "/home/br/.local/lib/python2.7/site-packages/youtrackutils/redmine2youtrack.py", line 88, in main
redmine_importer.do_import(project_ids)
File "/home/br/.local/lib/python2.7/site-packages/youtrackutils/redmine2youtrack.py", line 131, in do_import
self._import_roles()
File "/home/br/.local/lib/python2.7/site-packages/youtrackutils/redmine2youtrack.py", line 362, in _import_roles
yt_perm = youtrackutils.redmine.Mapping.PERMISSIONS.get(perm.name)

AttributeError: 'unicode' object has no attribute 'name'

</pre>

 

Now, I could modify the code above to insert try/exception block and catch the AttributeError... but I don't think that's the solution.
As I say, this problem didn't happen before. I would have reported this directly on the GitHub project but issues are disabled.

 

Is there any way I can get a zip file of the older version where the rest api and the youtrack migration utils were in the same repository?

4 comments
Comment actions Permalink
Official comment

Could you please try to pull the old library from the repo? Currently we don't have documentation for the new library, I apologize for inconvenience.

Regarding the second question, please vote/comment for the issue on our tracker to stay up to date with the progress:

https://youtrack.jetbrains.com/v2/issue/JT-45418

Comment actions Permalink

Also, why is there no markdown or embedded html support for this interface? Silly... your customers are developers, and you support it inside YouTrack! :D

0
Comment actions Permalink

HI Lüba, I assume you mean the "before-split" branch: 

https://github.com/JetBrains/youtrack-rest-python-library/tree/before-split

I will do that and let you know the result. Thanks!

0
Comment actions Permalink

Hi Lüba, the 'before-split' branch scripts are working as expected, thank you!

0

Please sign in to leave a comment.