python-jira-plus 1.0.8__tar.gz → 1.0.11__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: 1.0.8
3
+ Version: 1.0.11
4
4
  Summary: Enhanced Python client for JIRA with better error handling, pagination, and metadata validation.
5
5
  Home-page: https://github.com/aviz92/python-jira-plus
6
6
  Author: Avi Zaguri
@@ -16,7 +16,7 @@ Requires-Dist: custom-python-logger
16
16
  Requires-Dist: pytest
17
17
  Requires-Dist: requests
18
18
  Requires-Dist: retrying
19
- Requires-Dist: jira~=3.8.0
19
+ Requires-Dist: jira
20
20
  Dynamic: author
21
21
  Dynamic: description
22
22
  Dynamic: description-content-type
@@ -313,16 +313,9 @@ class JiraPlus:
313
313
  issue_fields = issue_fields | custom_fields
314
314
  self.validate_fields(project_key=project_key, issue_type=issue_type, fields=issue_fields)
315
315
 
316
- try:
317
- issue = self.jira_client.create_issue(fields=issue_fields)
318
- self.logger.info(f"Issue {issue.key} created successfully.")
319
- return issue
320
- except JIRAError as err:
321
- self.logger.error(f"JIRAError while creating issue: {err.text}")
322
- return None
323
- except Exception as err:
324
- self.logger.exception(f"Unexpected error: {err}")
325
- return None
316
+ issue = self.jira_client.create_issue(fields=issue_fields)
317
+ self.logger.info(f"Issue {issue.key} created successfully.")
318
+ return issue
326
319
 
327
320
  def update_issue(
328
321
  self,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: python-jira-plus
3
- Version: 1.0.8
3
+ Version: 1.0.11
4
4
  Summary: Enhanced Python client for JIRA with better error handling, pagination, and metadata validation.
5
5
  Home-page: https://github.com/aviz92/python-jira-plus
6
6
  Author: Avi Zaguri
@@ -16,7 +16,7 @@ Requires-Dist: custom-python-logger
16
16
  Requires-Dist: pytest
17
17
  Requires-Dist: requests
18
18
  Requires-Dist: retrying
19
- Requires-Dist: jira~=3.8.0
19
+ Requires-Dist: jira
20
20
  Dynamic: author
21
21
  Dynamic: description
22
22
  Dynamic: description-content-type
@@ -5,4 +5,4 @@ custom-python-logger
5
5
  pytest
6
6
  requests
7
7
  retrying
8
- jira~=3.8.0
8
+ jira
@@ -5,4 +5,4 @@ custom-python-logger
5
5
  pytest
6
6
  requests
7
7
  retrying
8
- jira~=3.8.0
8
+ jira
@@ -1,6 +1,6 @@
1
1
  from setuptools import setup, find_packages
2
2
 
3
- package_version = '1.0.8'
3
+ package_version = '1.0.11'
4
4
 
5
5
  package_name = 'python-jira-plus'
6
6
  package_description = 'Enhanced Python client for JIRA with better error handling, pagination, and metadata validation.'