rhevm-qe-automation / pytest_jira

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

Change token_bearer to the new api required by jira #131

Closed kazarski closed 5 months ago

kazarski commented 1 year ago

On this page: https://developer.atlassian.com/cloud/jira/platform/basic-auth-for-rest-apis/ it says that we should change the Authorization key in the header of API request to "Basic " instead of "Bearer as it is now. The proposed solution is just to rename Bearer to Basic in the file pytest_jira at line 192

lukas-bednar commented 1 year ago

Hello, thank you for bringing this change to my attention. Would you mind submitting a patch for that? I would be more than happy to review it, and get it in.

lukas-bednar commented 5 months ago

Actually we support both options. Token (with Bearer) and User&Password (with Basic). I guess we can close this issue. Feel free to re-open it if you don't agree!