rhevm-qe-automation / pytest_jira

py.test plugin to integrate with JIRA
GNU General Public License v2.0
29 stars 25 forks source link

Basic Authentication not working with Jira anymore #117

Closed Loydik closed 3 years ago

Loydik commented 3 years ago

Hello,

Basic authentication with username or password does not work in Jira anymore: https://confluence.atlassian.com/cloud/deprecation-of-basic-authentication-with-passwords-for-jira-and-confluence-apis-972355348.html

A 401 HTTP error is returned after pytest-jira tries to get permissions from Jira ('{url}rest/api/2/mypermissions?permissions=BROWSE_PROJECTS'). Is there any workaround? Or basically this plugin is completely unusable now? Thanks!

Loydik commented 3 years ago

My bad, I just had to put API token in place of password and it works.