python-jira-plus 1.0.2__tar.gz → 1.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.
- {python_jira_plus-1.0.2/python_jira_plus.egg-info → python_jira_plus-1.0.3}/PKG-INFO +1 -1
- {python_jira_plus-1.0.2 → python_jira_plus-1.0.3}/python_jira_plus/jira_plus.py +8 -0
- {python_jira_plus-1.0.2 → python_jira_plus-1.0.3/python_jira_plus.egg-info}/PKG-INFO +1 -1
- {python_jira_plus-1.0.2 → python_jira_plus-1.0.3}/setup.py +1 -1
- {python_jira_plus-1.0.2 → python_jira_plus-1.0.3}/LICENSE +0 -0
- {python_jira_plus-1.0.2 → python_jira_plus-1.0.3}/MANIFEST.in +0 -0
- {python_jira_plus-1.0.2 → python_jira_plus-1.0.3}/README.md +0 -0
- {python_jira_plus-1.0.2 → python_jira_plus-1.0.3}/pyproject.toml +0 -0
- {python_jira_plus-1.0.2 → python_jira_plus-1.0.3}/python_jira_plus/__init__.py +0 -0
- {python_jira_plus-1.0.2 → python_jira_plus-1.0.3}/python_jira_plus/describe_allowed_value.py +0 -0
- {python_jira_plus-1.0.2 → python_jira_plus-1.0.3}/python_jira_plus.egg-info/SOURCES.txt +0 -0
- {python_jira_plus-1.0.2 → python_jira_plus-1.0.3}/python_jira_plus.egg-info/dependency_links.txt +0 -0
- {python_jira_plus-1.0.2 → python_jira_plus-1.0.3}/python_jira_plus.egg-info/requires.txt +0 -0
- {python_jira_plus-1.0.2 → python_jira_plus-1.0.3}/python_jira_plus.egg-info/top_level.txt +0 -0
- {python_jira_plus-1.0.2 → python_jira_plus-1.0.3}/requirements.txt +0 -0
- {python_jira_plus-1.0.2 → python_jira_plus-1.0.3}/setup.cfg +0 -0
|
@@ -341,6 +341,14 @@ class JiraPlus:
|
|
|
341
341
|
self.logger.exception(f"Exception - Link between {issue_key} and {in_issue_key} was not created\n{err}")
|
|
342
342
|
return False
|
|
343
343
|
|
|
344
|
+
def upload_attachment(self, issue_key: str, file_path: str) -> None:
|
|
345
|
+
try:
|
|
346
|
+
self.jira_client.add_attachment(issue=issue_key, attachment=file_path)
|
|
347
|
+
except JIRAError as err:
|
|
348
|
+
self.logger.exception(f"JIRAError - Attachment {file_path} was not uploaded to issue {issue_key}\n{err}")
|
|
349
|
+
except Exception as err:
|
|
350
|
+
self.logger.exception(f"Exception - Attachment {file_path} was not uploaded to issue {issue_key}\n{err}")
|
|
351
|
+
|
|
344
352
|
def transition_issue(
|
|
345
353
|
self,
|
|
346
354
|
issue_key: str,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{python_jira_plus-1.0.2 → python_jira_plus-1.0.3}/python_jira_plus/describe_allowed_value.py
RENAMED
|
File without changes
|
|
File without changes
|
{python_jira_plus-1.0.2 → python_jira_plus-1.0.3}/python_jira_plus.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|