Skip to content

Commit 9fca859

Browse files
authored
Merge pull request #157 from princenyeche/princenyeche-patch-1 JIR-38
Update to management API JIR-38
2 parents 4ca6885 + ac4b332 commit 9fca859

File tree

5 files changed

+11
-4
lines changed

5 files changed

+11
-4
lines changed

CHANGES.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Jira one change log
22

3+
**Release 0.9.3** - 2025-10-15
4+
Update:
5+
- An update to API in `jira.management` module
6+
7+
38
**Release 0.9.2** - 2025-08-17
49
Fixes::
510
- 🐛An issue with enhance_search returning duplicated results

SECURITY.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,15 @@ Below is the list of supported versions for the jiraone library
66

77
| Version | Supported |
88
|---------|--------------------|
9+
| 0.9.3 | :white_check_mark: |
910
| 0.9.2 | :white_check_mark: |
1011
| 0.9.1 | :white_check_mark: |
1112
| 0.9.0 | :white_check_mark: |
1213
| 0.8.9 | :white_check_mark: |
1314
| 0.8.8 | :white_check_mark: |
1415
| 0.8.7 | :white_check_mark: |
1516
| 0.8.6 | :white_check_mark: |
16-
| 0.8.5 | :white_check_mark: |
17+
| 0.8.5 | :x: |
1718
| 0.8.4 | :x: |
1819
| 0.8.3 | :x: |
1920
| 0.8.2 | :x: |

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "jiraone"
3-
version = "v0.9.2"
3+
version = "v0.9.3"
44
authors = [
55
{ name="Prince Nyeche", email="[email protected]" },
66
]

src/jiraone/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
from jiraone.management import manage
3838

3939
__author__ = "Prince Nyeche"
40-
__version__ = "0.9.2"
40+
__version__ = "0.9.3"
4141
__all__ = [
4242
"LOGIN",
4343
"endpoint",

src/jiraone/management.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -567,7 +567,8 @@ def _parse_data_obj(
567567
else data.json()["meta"]["page_size"]
568568
)
569569
count = 0
570-
for ids in data.json()["data"]:
570+
resp_object = data.json().get("data", [])
571+
for ids in resp_object:
571572
many.append(ids["id"]) if "id" in ids and total == -1 else 0
572573
while count < total:
573574
count += 1

0 commit comments

Comments
 (0)