-
Notifications
You must be signed in to change notification settings - Fork 664
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Jira] Fix get method data retrieval failures when advanced mode is on (
#1449) * [Rest Client] Add helper method to get content _get_response_content is to be used for chaining together response retrieval. This is useful in the case where you are querying the API and then immediately extracting some data from the response. This method is needed to account for the case where advanced mode is on and the initial get call returns a requests.Response rather than a dictionary. * [Jira] Update retrieval method calls For methods that query the API and then immediately retrieve some data from the response, replace the get call with the new _get_response_content method to account for advanced mode usage. * [Jira] Fix get_issue_labels data retrieval
- Loading branch information
Showing
2 changed files
with
40 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
f146a9b
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In atlassian/rest_client.py line 368, the fields argument should be prefixed with ** (DOUBLESTAR)