admin管理员组文章数量:1418057
The following code calling the python JIRA library /
and it works with the public JIRA server from
jira = JIRA('')
but once I add the authorization details said to be needed by the admin of my company(server/token), it does not work with my company's JIRA server
options = {'server':'https://abc', 'verify':False}
jira = JIRA(options, token_auth="xyz")
For some unknown reason, it already leads to a 404 error complaining about the non-existence of
https://abc/api/2/serverInfo
where abc is the server address of my own company.
Does anyone know why it is this way? This is my first question
To get around this, I just convert the curl command to python request and login. But then I have no idea how to create a JIRA object defined by the library if I do not login to my company's JIRA server using the library. Any one has any idea on how to achieve this. Thanks
The following code calling the python JIRA library https://jira.readthedocs.io/
and it works with the public JIRA server from https://jira.atlassian
jira = JIRA('https://jira.atlassian')
but once I add the authorization details said to be needed by the admin of my company(server/token), it does not work with my company's JIRA server
options = {'server':'https://abc', 'verify':False}
jira = JIRA(options, token_auth="xyz")
For some unknown reason, it already leads to a 404 error complaining about the non-existence of
https://abc/api/2/serverInfo
where abc is the server address of my own company.
Does anyone know why it is this way? This is my first question
To get around this, I just convert the curl command to python request and login. But then I have no idea how to create a JIRA object defined by the library if I do not login to my company's JIRA server using the library. Any one has any idea on how to achieve this. Thanks
Share Improve this question edited Feb 14 at 16:18 infinity_coding7 5096 silver badges18 bronze badges asked Feb 3 at 4:48 user4343712user4343712 4011 gold badge3 silver badges8 bronze badges1 Answer
Reset to default -2Inorder for it to work you need to check the authentication method and verify your API based URL, here's the code for the same , execute it in your terminal.
Public Jira Cloud instances use https://yourdomain.atlassian/rest/api/2/
本文标签: login problem when using python jira libraryStack Overflow
版权声明:本文标题:login problem when using python jira library - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1745249064a2649709.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论