Issue's When I Try jira-python for accessing JIRA issues
I have used the following sample python code to try and connect to the JIRA( https://community.atlassian.com/ ) instance for our project.
options = {
'server': 'http://172.16.48.15:8080'
}
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.....
http://172.16.48.15:8080/rest/api/2/serverInfo
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( https://goo.gl/tQg585 ) using a browser. Any help will be appreciated.
Thanks
Comments are currently closed for this discussion. You can start a new one.
Keyboard shortcuts
Generic
? | 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
1 Posted by Ilya Finkelshte... on Oct 13, 2017 @ 06:04 PM
172.16.48.15
looks like private address. You probably can connect to it from your local network but it cannot be accessed over public Internet.Ilya Finkelshteyn closed this discussion on Aug 25, 2018 @ 02:20 AM.