t-bug-catcher 0.6.12__tar.gz → 0.6.13__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.
Files changed (26) hide show
  1. {t_bug_catcher-0.6.12 → t_bug_catcher-0.6.13}/PKG-INFO +1 -1
  2. {t_bug_catcher-0.6.12 → t_bug_catcher-0.6.13}/setup.cfg +1 -1
  3. {t_bug_catcher-0.6.12 → t_bug_catcher-0.6.13}/setup.py +1 -1
  4. {t_bug_catcher-0.6.12 → t_bug_catcher-0.6.13}/t_bug_catcher/__init__.py +1 -1
  5. {t_bug_catcher-0.6.12 → t_bug_catcher-0.6.13}/t_bug_catcher/jira.py +3 -3
  6. {t_bug_catcher-0.6.12 → t_bug_catcher-0.6.13}/t_bug_catcher.egg-info/PKG-INFO +1 -1
  7. {t_bug_catcher-0.6.12 → t_bug_catcher-0.6.13}/MANIFEST.in +0 -0
  8. {t_bug_catcher-0.6.12 → t_bug_catcher-0.6.13}/README.rst +0 -0
  9. {t_bug_catcher-0.6.12 → t_bug_catcher-0.6.13}/pyproject.toml +0 -0
  10. {t_bug_catcher-0.6.12 → t_bug_catcher-0.6.13}/requirements.txt +0 -0
  11. {t_bug_catcher-0.6.12 → t_bug_catcher-0.6.13}/t_bug_catcher/bug_catcher.py +0 -0
  12. {t_bug_catcher-0.6.12 → t_bug_catcher-0.6.13}/t_bug_catcher/bug_snag.py +0 -0
  13. {t_bug_catcher-0.6.12 → t_bug_catcher-0.6.13}/t_bug_catcher/config.py +0 -0
  14. {t_bug_catcher-0.6.12 → t_bug_catcher-0.6.13}/t_bug_catcher/exceptions.py +0 -0
  15. {t_bug_catcher-0.6.12 → t_bug_catcher-0.6.13}/t_bug_catcher/resources/whispers_config.yml +0 -0
  16. {t_bug_catcher-0.6.12 → t_bug_catcher-0.6.13}/t_bug_catcher/stack_saver.py +0 -0
  17. {t_bug_catcher-0.6.12 → t_bug_catcher-0.6.13}/t_bug_catcher/utils/__init__.py +0 -0
  18. {t_bug_catcher-0.6.12 → t_bug_catcher-0.6.13}/t_bug_catcher/utils/common.py +0 -0
  19. {t_bug_catcher-0.6.12 → t_bug_catcher-0.6.13}/t_bug_catcher/utils/logger.py +0 -0
  20. {t_bug_catcher-0.6.12 → t_bug_catcher-0.6.13}/t_bug_catcher/workitems.py +0 -0
  21. {t_bug_catcher-0.6.12 → t_bug_catcher-0.6.13}/t_bug_catcher.egg-info/SOURCES.txt +0 -0
  22. {t_bug_catcher-0.6.12 → t_bug_catcher-0.6.13}/t_bug_catcher.egg-info/dependency_links.txt +0 -0
  23. {t_bug_catcher-0.6.12 → t_bug_catcher-0.6.13}/t_bug_catcher.egg-info/not-zip-safe +0 -0
  24. {t_bug_catcher-0.6.12 → t_bug_catcher-0.6.13}/t_bug_catcher.egg-info/requires.txt +0 -0
  25. {t_bug_catcher-0.6.12 → t_bug_catcher-0.6.13}/t_bug_catcher.egg-info/top_level.txt +0 -0
  26. {t_bug_catcher-0.6.12 → t_bug_catcher-0.6.13}/tests/test_t_bug_catcher.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: t_bug_catcher
3
- Version: 0.6.12
3
+ Version: 0.6.13
4
4
  Summary: Bug catcher
5
5
  Home-page: https://www.thoughtful.ai/
6
6
  Author: Thoughtful
@@ -1,5 +1,5 @@
1
1
  [bumpversion]
2
- current_version = 0.6.12
2
+ current_version = 0.6.13
3
3
  commit = True
4
4
  tag = False
5
5
 
@@ -26,7 +26,7 @@ setup(
26
26
  packages=find_packages(include=["t_bug_catcher", "t_bug_catcher.*"]),
27
27
  test_suite="tests",
28
28
  url="https://www.thoughtful.ai/",
29
- version="0.6.12",
29
+ version="0.6.13",
30
30
  zip_safe=False,
31
31
  install_requires=install_requirements,
32
32
  include_package_data=True,
@@ -3,7 +3,7 @@
3
3
  __author__ = """Thoughtful"""
4
4
  __email__ = "support@thoughtful.ai"
5
5
  # fmt: off
6
- __version__ = '0.6.12'
6
+ __version__ = '0.6.13'
7
7
  # fmt: on
8
8
 
9
9
  from .bug_catcher import (
@@ -169,12 +169,12 @@ class Jira:
169
169
  """A function to get the issues using a Jira API.
170
170
 
171
171
  It updates the headers, sets up a JQL query, specifies additional query parameters,
172
- makes a GET request to the Jira API, and returns the JSON response.
172
+ makes a POST request to the Jira API, and returns the JSON response.
173
173
  """
174
174
  project_key = project_key or self._project_key
175
175
  jql_query = f'project = "{project_key}"'
176
176
 
177
- # Use POST method with JSON body as recommended by the API documentation
177
+ # Use POST method with JSON body for the /rest/api/3/search/jql endpoint
178
178
  request_body = {
179
179
  "jql": jql_query,
180
180
  "maxResults": 100,
@@ -183,7 +183,7 @@ class Jira:
183
183
 
184
184
  response = requests.request(
185
185
  "POST",
186
- self._base_url + "/rest/3/search/jql",
186
+ self._base_url + "/rest/api/3/search/jql",
187
187
  headers=self.__get_headers(),
188
188
  auth=self._auth,
189
189
  json=request_body,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: t_bug_catcher
3
- Version: 0.6.12
3
+ Version: 0.6.13
4
4
  Summary: Bug catcher
5
5
  Home-page: https://www.thoughtful.ai/
6
6
  Author: Thoughtful