python-jira-plus 2.0.2__tar.gz → 2.0.3__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: python-jira-plus
3
- Version: 2.0.2
3
+ Version: 2.0.3
4
4
  Summary: Enhanced Python client for JIRA with better error handling, pagination, and metadata validation.
5
5
  Author: Avi Zaguri
6
6
  License: MIT
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "python-jira-plus"
7
- version = "2.0.2"
7
+ version = "2.0.3"
8
8
  description = "Enhanced Python client for JIRA with better error handling, pagination, and metadata validation."
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.11"
@@ -152,6 +152,9 @@ class JiraPlus:
152
152
  fields=specific_fields,
153
153
  json_result=json_result,
154
154
  )
155
+ if not page:
156
+ break
157
+
155
158
  all_issues += page["issues"] if json_result else page
156
159
  if page['isLast']:
157
160
  break
@@ -189,6 +192,9 @@ class JiraPlus:
189
192
  fields=specific_fields,
190
193
  json_result=json_result,
191
194
  )
195
+ if not page:
196
+ break
197
+
192
198
  all_issues += page["issues"] if json_result else page
193
199
  if json_result:
194
200
  start_at += page["maxResults"]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: python-jira-plus
3
- Version: 2.0.2
3
+ Version: 2.0.3
4
4
  Summary: Enhanced Python client for JIRA with better error handling, pagination, and metadata validation.
5
5
  Author: Avi Zaguri
6
6
  License: MIT