Problem when creating JIRA object

I happen to update to JIRA package 0.50  for python yesterday, and the script isn't working any more. 

When I create the JIRA object, it gives the following error: 

File "/Path/", line 13, in __init__
self.jira = JIRA(options, basic_auth=(self.reporter['username'], self.reporter['password']))
File "/Path/venv/lib/python3.4/site-packages/jira/", line 261, in __init__
si = self.server_info()
File "Path/venv/lib/python3.4/site-packages/jira/", line 1617, in server_info
return self._get_json('serverInfo')
File "/Path/venv/lib/python3.4/site-packages/jira/", line 2036, in _get_json
r_json = json_loads(r)
File "Path/venv/lib/python3.4/site-packages/jira/", line 78, in json_loads
File "/Path/venv/lib/python3.4/site-packages/jira/", line 91, in raise_on_error
raise JIRAError(None, **kwargs)
jira.utils.JIRAError: JiraError HTTP None

where options holds 

options= {'server': self.base_url, 'verify':'False'}

and base_url = ''

then, when I set 

then the error moves forward to 

WARNING:root:[Errno 2] No such file or directory while doing GET [{'headers': {'X-Atlassian-Token': 'no-check', 'Content-Type': 'application/json', 'Connection': 'keep-alive', 'User-Agent': 'python-requests/2.7.0 CPython/3.4.1 Darwin/14.5.0', 'Accept-Encoding': 'gzip, deflate', 'Cache-Control': 'no-cache', 'Accept': '*/*'}, 'params': {'startAt': 0, 'expand': None, 'maxResults': 50, 'validateQuery': True, 'jql': 'project in (HELP, HELC)  and issuetype = Monitor', 'fields': []}}]

Coming the error

File "/Path/venv/lib/python3.4/site-packages/jira/", line 1587, in search_issues
resource = self._get_json('search', params=search_params)

So it seems like it cannot search issues.

thanks in advance!


1 answer

0 votes

Are you still having this problem @Fernando Lopez Aguilar?

Can you try upgrading your JIRA package to 1.0.3 and seeing if that makes any difference?


What version of JIRA are you running at

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Jan 08, 2019 in Jira

How to Jira for designers

I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...

956 views 3 9
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you