Hello Team,
Previously, I was able to communicate using the username and password, but now I am unable to do so
jira version: JIRA v7.3.6
Hi @Sachin Jadhav
Welcome to Atlassian Community!
Could you please, tell me are you trying to access the Jira application through any script? or through browser? any error are you getting while accessing the Jira?
Regards,Mahesh Shinde
Hello @Mahesh Shinde
I am trying to access jira through python script on ubuntu machine
are you getting any error while running the script?
what are the REST API call are you using to authenticate Jira?
Regards,
Mahesh Shinde
showing following error:
json.decoder.JSONDecodeError: Expecting value: line 3 column 1 (char 4)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):File "c:\Users\12796\Downloads\python\test2jira.py", line 9, in <module>jira = JIRA(jira_url, basic_auth=(username, password))File "C:\Users\12796\AppData\Roaming\Python\Python310\site-packages\jira\client.py", line 580, in __init__si = self.server_info()File "C:\Users\12796\AppData\Roaming\Python\Python310\site-packages\jira\client.py", line 3191, in server_infoj = self._get_json("serverInfo")File "C:\Users\12796\AppData\Roaming\Python\Python310\site-packages\jira\client.py", line 3938, in _get_jsonraise eFile "C:\Users\12796\AppData\Roaming\Python\Python310\site-packages\jira\client.py", line 3935, in _get_jsonr_json = json_loads(r)File "C:\Users\12796\AppData\Roaming\Python\Python310\site-packages\jira\utils\__init__.py", line 76, in json_loadsreturn resp.json()File "C:\Users\12796\AppData\Roaming\Python\Python310\site-packages\requests\models.py", line 975, in jsonraise RequestsJSONDecodeError(e.msg, e.doc, e.pos)requests.exceptions.JSONDecodeError: Expecting value: line 3 column 1 (char 4)
It looks like you're new here. Sign in or register to get started.