Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Iterating over trackers for a custom field raises exception #78
Here is the json from /custom_fields.json
Works fine here:
>>> list(redmine.custom_field.all().trackers) [<redmine.resources.Tracker #4 "Bug">, <redmine.resources.Tracker #5 "Task">, <redmine.resources.Tracker #6 "Support">, <redmine.resources.Tracker #7 "User story">]
The JSON output from /custom_fields.json that you attached is incomplete, are you sure you've copy pasted it correctly ?
I believe I've found the answer.
It is a bug in Redmine that was fixed in 2.5.2, that is why our outputs differ (I'm on 2.6.0).
I can fix this on the python-redmine side so that it worked with Redmine versions <2.5.2 but I believe that you'll want to upgrade your Redmine installation if you need to get all trackers instead of only one.