You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trying to export redmine issues, but it does not seem to be creating a new file.
What I Did
I have updated the config.py for URL and key
Was facing an issue with custom field, this seems to be an error of the redminelib package
>>> cf = a.custom_field.all()
>>> cf.length
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
AttributeError: 'ResourceSet' object has no attribute 'length'
>>> len(cf)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/local/lib/python3.4/dist-packages/redminelib/resultsets.py", line 131, in __len__
return sum(1 for _ in self)
File "/usr/local/lib/python3.4/dist-packages/redminelib/resultsets.py", line 238, in __iter__
return (self.manager.to_resource(resource) for resource in super(ResourceSet, self).__iter__())
File "/usr/local/lib/python3.4/dist-packages/redminelib/resultsets.py", line 107, in __iter__
self._resources, self._total_count = self.manager.request(True)
File "/usr/local/lib/python3.4/dist-packages/redminelib/managers.py", line 56, in request
return self.redmine.engine.bulk_request('get', self.url, self.container, **self.params)
File "/usr/local/lib/python3.4/dist-packages/redminelib/engines/base.py", line 88, in bulk_request
response = self.request(method, url, params=dict(params, limit=limit or self.chunk, offset=offset))
File "/usr/local/lib/python3.4/dist-packages/redminelib/engines/base.py", line 75, in request
return self.process_response(self.session.request(method, url, **kwargs), return_raw)
File "/usr/local/lib/python3.4/dist-packages/redminelib/engines/base.py", line 154, in process_response
raise exceptions.AuthError
redminelib.exceptions.AuthError: Invalid authentication details
So, removed the code to read custom fields to fix the above.
then, ran redmine2jira --filter "issue_id=7002" my_issues.csv. But, this file is not created.
I found that the output argument is read but didn;t find any code for creating a file.
I installed using pip command.
The text was updated successfully, but these errors were encountered:
Description
Trying to export redmine issues, but it does not seem to be creating a new file.
What I Did
config.py
for URL and keyredminelib
packageredmine2jira --filter "issue_id=7002" my_issues.csv
. But, this file is not created.I found that the output argument is read but didn;t find any code for creating a file.
I installed using pip command.
The text was updated successfully, but these errors were encountered: