t-bug-catcher 0.2.3__tar.gz → 0.2.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.
- {t_bug_catcher-0.2.3 → t_bug_catcher-0.2.4}/PKG-INFO +1 -1
- {t_bug_catcher-0.2.3 → t_bug_catcher-0.2.4}/setup.cfg +1 -1
- {t_bug_catcher-0.2.3 → t_bug_catcher-0.2.4}/setup.py +1 -1
- {t_bug_catcher-0.2.3 → t_bug_catcher-0.2.4}/t_bug_catcher/__init__.py +1 -1
- {t_bug_catcher-0.2.3 → t_bug_catcher-0.2.4}/t_bug_catcher/jira.py +6 -1
- {t_bug_catcher-0.2.3 → t_bug_catcher-0.2.4}/t_bug_catcher.egg-info/PKG-INFO +1 -1
- {t_bug_catcher-0.2.3 → t_bug_catcher-0.2.4}/MANIFEST.in +0 -0
- {t_bug_catcher-0.2.3 → t_bug_catcher-0.2.4}/README.rst +0 -0
- {t_bug_catcher-0.2.3 → t_bug_catcher-0.2.4}/pyproject.toml +0 -0
- {t_bug_catcher-0.2.3 → t_bug_catcher-0.2.4}/requirements.txt +0 -0
- {t_bug_catcher-0.2.3 → t_bug_catcher-0.2.4}/t_bug_catcher/bug_catcher.py +0 -0
- {t_bug_catcher-0.2.3 → t_bug_catcher-0.2.4}/t_bug_catcher/bug_snag.py +0 -0
- {t_bug_catcher-0.2.3 → t_bug_catcher-0.2.4}/t_bug_catcher/config.py +0 -0
- {t_bug_catcher-0.2.3 → t_bug_catcher-0.2.4}/t_bug_catcher/exceptions.py +0 -0
- {t_bug_catcher-0.2.3 → t_bug_catcher-0.2.4}/t_bug_catcher/utils/__init__.py +0 -0
- {t_bug_catcher-0.2.3 → t_bug_catcher-0.2.4}/t_bug_catcher/utils/common.py +0 -0
- {t_bug_catcher-0.2.3 → t_bug_catcher-0.2.4}/t_bug_catcher/utils/logger.py +0 -0
- {t_bug_catcher-0.2.3 → t_bug_catcher-0.2.4}/t_bug_catcher/workitems.py +0 -0
- {t_bug_catcher-0.2.3 → t_bug_catcher-0.2.4}/t_bug_catcher.egg-info/SOURCES.txt +0 -0
- {t_bug_catcher-0.2.3 → t_bug_catcher-0.2.4}/t_bug_catcher.egg-info/dependency_links.txt +0 -0
- {t_bug_catcher-0.2.3 → t_bug_catcher-0.2.4}/t_bug_catcher.egg-info/not-zip-safe +0 -0
- {t_bug_catcher-0.2.3 → t_bug_catcher-0.2.4}/t_bug_catcher.egg-info/requires.txt +0 -0
- {t_bug_catcher-0.2.3 → t_bug_catcher-0.2.4}/t_bug_catcher.egg-info/top_level.txt +0 -0
- {t_bug_catcher-0.2.3 → t_bug_catcher-0.2.4}/tests/test_t_bug_catcher.py +0 -0
|
@@ -839,11 +839,16 @@ class Jira:
|
|
|
839
839
|
Returns:
|
|
840
840
|
The response from creating the ticket.
|
|
841
841
|
"""
|
|
842
|
+
issue_type = (
|
|
843
|
+
self._issue_types.get("bug")
|
|
844
|
+
or self._issue_types.get("task")
|
|
845
|
+
or self._issue_types.get("support", self._issue_types["epic"])
|
|
846
|
+
)
|
|
842
847
|
issue = self.__generate_issue_body(
|
|
843
848
|
summary=summary[:255].split("\n")[0],
|
|
844
849
|
description=description,
|
|
845
850
|
assignee=assignee_id,
|
|
846
|
-
issue_type=
|
|
851
|
+
issue_type=issue_type,
|
|
847
852
|
labels=labels,
|
|
848
853
|
)
|
|
849
854
|
response = self.post_ticket(issue=issue)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|