python-jira-plus 2.0.2__tar.gz → 2.0.4__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.
- {python_jira_plus-2.0.2/python_jira_plus.egg-info → python_jira_plus-2.0.4}/PKG-INFO +1 -1
- {python_jira_plus-2.0.2 → python_jira_plus-2.0.4}/pyproject.toml +1 -1
- {python_jira_plus-2.0.2 → python_jira_plus-2.0.4}/python_jira_plus/jira_plus.py +7 -1
- {python_jira_plus-2.0.2 → python_jira_plus-2.0.4/python_jira_plus.egg-info}/PKG-INFO +1 -1
- {python_jira_plus-2.0.2 → python_jira_plus-2.0.4}/LICENSE +0 -0
- {python_jira_plus-2.0.2 → python_jira_plus-2.0.4}/MANIFEST.in +0 -0
- {python_jira_plus-2.0.2 → python_jira_plus-2.0.4}/README.md +0 -0
- {python_jira_plus-2.0.2 → python_jira_plus-2.0.4}/python_jira_plus/__init__.py +0 -0
- {python_jira_plus-2.0.2 → python_jira_plus-2.0.4}/python_jira_plus/describe_allowed_value.py +0 -0
- {python_jira_plus-2.0.2 → python_jira_plus-2.0.4}/python_jira_plus.egg-info/SOURCES.txt +0 -0
- {python_jira_plus-2.0.2 → python_jira_plus-2.0.4}/python_jira_plus.egg-info/dependency_links.txt +0 -0
- {python_jira_plus-2.0.2 → python_jira_plus-2.0.4}/python_jira_plus.egg-info/requires.txt +0 -0
- {python_jira_plus-2.0.2 → python_jira_plus-2.0.4}/python_jira_plus.egg-info/top_level.txt +0 -0
- {python_jira_plus-2.0.2 → python_jira_plus-2.0.4}/setup.cfg +0 -0
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "python-jira-plus"
|
|
7
|
-
version = "2.0.
|
|
7
|
+
version = "2.0.4"
|
|
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
|
|
@@ -182,13 +185,16 @@ class JiraPlus:
|
|
|
182
185
|
while True: # pylint: disable=W0149
|
|
183
186
|
try:
|
|
184
187
|
self.logger.debug(f"Fetching issues from startAt={start_at}")
|
|
185
|
-
page = self.jira_client.
|
|
188
|
+
page = self.jira_client.search_issues(
|
|
186
189
|
jql_str=query,
|
|
187
190
|
startAt=start_at,
|
|
188
191
|
maxResults=max_results,
|
|
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"]
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{python_jira_plus-2.0.2 → python_jira_plus-2.0.4}/python_jira_plus/describe_allowed_value.py
RENAMED
|
File without changes
|
|
File without changes
|
{python_jira_plus-2.0.2 → python_jira_plus-2.0.4}/python_jira_plus.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|