This Jira Server Developer article states within the “Development Tips” section, that an OAuth accestoken can be used within a request header:
When making requests, pass the OAuth access token in the request header, do not pass it in the request body. If you pass the OAuth data in the request body, it will return a “400 Bad Request” error for most methods.
I tried that with the “Authorization” header and the value “Bearer accesstoken” in Jira Server 8.5.2 REST Api call, but it didn’t work.
It would be great if I could use OAuth accesstokens in Jira Server REST Api calls.
Is this really possible or maybe this is only true for Jira Cloud ?