Hello,
I am new to JIRA. I need to connect to JIRA and do some queries. The problem is the begging, I can't connect.
The code that I use is the next one:
<span>from jira import JIRA <br><br>jira </span><span>=</span><span> JIRA</span><span>(</span><span>options</span><span>=</span><span>{'server':'http://...'}</span><span>,</span><span> basic_auth</span><span>=(</span><span>jira_user</span><span>,</span><span> jira_password</span><span>))</span> and I get an error asking for a certificate (...certificate_verify_failed...)
So, I found in Stack Overflow that you can add a certificate. So, I went to the browser, save the certificate that it is used as a file and then add the certificate to the JIRA object:
<span>from jira import JIRA <br><br>jira </span><span>=</span><span> JIRA</span><span>(</span><span>options</span><span>=</span><span>{'server':'http://...', 'verify':'path_to_certificate'}</span><span>,</span><span> basic_auth</span><span>=(</span><span>jira_user</span><span>,</span><span> jira_password</span><span>))</span>Unfortunately, didn't work.
I also tried to set 'verify' to false but also not working...
Any recommendations?
Thank you very much