Closed
Description
I was trying to use this library and while trying to get it work I find that this paging_workaround
is wrong key here. Is it known issue?
The cause of it wrong param being passed to Jira._get_paged().
Stacktrace:
File "/workspace/dora/jira_project.py", line 49, in <module>
p = jp.get_project()
^^^^^^^^^^^^^^^^
File "/workspace/dora/jira_project.py", line 24, in get_project
projects = self.jira.get_all_projects(included_archived=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/atlassian/jira.py", line 2416, in get_all_projects
return self.projects(included_archived, expand)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/atlassian/jira.py", line 2434, in projects
self._get_paged(
TypeError: Jira._get_paged() got an unexpected keyword argument 'paging_workaround'
Fix is very simple - just remove paging_workaround
in this call
self._get_paged(
self.resource_url("project/search"),
params,
paging_workaround=True,
)
Metadata
Metadata
Assignees
Labels
No labels