python-jira-plus 1.0.11__tar.gz → 1.0.12__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.11
3
+ Version: 1.0.12
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
@@ -353,6 +353,10 @@ class JiraPlus:
353
353
  self.logger.exception(f"Unexpected error: {err}")
354
354
  return False
355
355
 
356
+ def add_comment(self, issue: str, comment: str) -> None:
357
+ self.jira_client.add_comment(issue=issue, body=comment)
358
+ self.logger.debug(f"Comment added to issue {issue} successfully.")
359
+
356
360
  def _get_available_link_types(self) -> set[str]:
357
361
  try:
358
362
  return {link_type.name for link_type in self.jira_client.issue_link_types()}
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: python-jira-plus
3
- Version: 1.0.11
3
+ Version: 1.0.12
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
@@ -1,6 +1,6 @@
1
1
  from setuptools import setup, find_packages
2
2
 
3
- package_version = '1.0.11'
3
+ package_version = '1.0.12'
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.'