Already spent a lot of time and can't find in the documentation how to use Bearer with Jira Cloud.
Jira on-prem allows to create a Personal Access Token (PAT) you can then add to the request headers as:
"Authorization: Bearer Mzcx..."
Jira Cloud allows to create an API Token you can't then add as a Bearer, but you'll need to use basic auth as:
-u email@address.com:Mzcx...
Additionally, Jira documention often mentions that basic auth is/is about to be deprecated for security concerns.
I want to be able to keep things easy and use the Personal Access Token (PAT) mechanism with Bearer both on-prem and on-cloud. Is this possible at all? Am I missing something?