Issue's When I Try jira-python for accessing JIRA issues

nicolewells.n's Avatar


13 Oct, 2017 07:05 AM

I have used the following sample python code to try and connect to the JIRA( ) instance for our project.

options = {
'server': ''
jira = JIRA(options=options, basic_auth=('<username>', '<password>'))

(I haven't attached the rest of the code since the issue occurs while trying to create an instance of JIRA) The 'username' and 'password' are the same that I use to access JIRA from a browser. After executing the above code I get the following error:

....The requested resource (/rest/api/2/serverInfo) is not available.....

Process finished with exit code 1
Can anybody please tell me what mistake am I making ? I have rights to access this server with my credentials. I can connect to JIRA( ) using a browser. Any help will be appreciated.


  1. Support Staff 1 Posted by Ilya Finkelshte... on 13 Oct, 2017 06:04 PM

    Ilya Finkelshteyn's Avatar looks like private address. You probably can connect to it from your local network but it cannot be accessed over public Internet.

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:


Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac