From f59ce33d245b6c1b28115fb6dad67c057e7dc3e4 Mon Sep 17 00:00:00 2001 From: Jarrod Ribble Date: Thu, 18 Apr 2024 22:18:31 -0600 Subject: [PATCH 1/2] [Jira] Make get_issue_changelog start and limit work. The result will be formatted differently. --- atlassian/jira.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/atlassian/jira.py b/atlassian/jira.py index 5cc30018d..e172237a3 100644 --- a/atlassian/jira.py +++ b/atlassian/jira.py @@ -1086,13 +1086,13 @@ def get_issue_changelog(self, issue_key, start=None, limit=None): :return: """ base_url = self.resource_url("issue") - url = "{base_url}/{issue_key}?expand=changelog".format(base_url=base_url, issue_key=issue_key) + url = "{base_url}/{issue_key}/changelog".format(base_url=base_url, issue_key=issue_key) params = {} if start: params["startAt"] = start if limit: params["maxResults"] = limit - return (self.get(url) or {}).get("changelog", params) + return self.get(url, params=params) def issue_add_json_worklog(self, key, worklog): """ From a8727ce0b61125f7c108ce7d3666fff69380c485 Mon Sep 17 00:00:00 2001 From: Jarrod Ribble Date: Thu, 18 Apr 2024 22:34:39 -0600 Subject: [PATCH 2/2] Try to get the read the docs build working. --- .readthedocs.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.readthedocs.yml b/.readthedocs.yml index e3662ba56..d297370e1 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -5,6 +5,11 @@ # Required version: 2 +build: + os: ubuntu-lts-latest + tools: + python: "3.8" + # Build documentation in the docs/ directory with Sphinx sphinx: configuration: docs/conf.py