Traceback (most recent call last): File "test.py", line 10, in <module> data = jira.jql(JQL) File "/home/parallels/.local/lib/python2.7/site-packages/atlassian/jira.py", line 2271, in jql return self.get("rest/api/2/search", params=params) File "/home/parallels/.local/lib/python2.7/site-packages/atlassian/rest_client.py", line 272, in get absolute=absolute, File "/home/parallels/.local/lib/python2.7/site-packages/atlassian/rest_client.py", line 232, in request log.debug("HTTP: Response text -> {}".format(response.text)) UnicodeEncodeError: 'ascii' codec can't encode character u'\u201c' in position 193089: ordinal not in range(128)
Having issue retrieving Jira Issue. This seems to be an issue with ASCII and UTF-8 encoding.
Code:
Error
Traceback (most recent call last): File "test.py", line 10, in <module> data = jira.jql(JQL) File "/home/parallels/.local/lib/python2.7/site-packages/atlassian/jira.py", line 2271, in jql return self.get("rest/api/2/search", params=params) File "/home/parallels/.local/lib/python2.7/site-packages/atlassian/rest_client.py", line 272, in get absolute=absolute, File "/home/parallels/.local/lib/python2.7/site-packages/atlassian/rest_client.py", line 232, in request log.debug("HTTP: Response text -> {}".format(response.text)) UnicodeEncodeError: 'ascii' codec can't encode character u'\u201c' in position 193089: ordinal not in range(128)