From the documentation, it looks like OAuth 2.0 authorization code grants are only supported by the Cloud REST APIs for Jira Platform and Service Desk, but not by the Jira Software REST API.
Is that correct, or am I missing something?
Are there any plans to add support for OAuth 2.0 authorization code grants to Jira Software Cloud REST API in the future, or is this superseded by the JWT Bearer token authorization grant?
Jira Software Cloud provides OAuth 2.0 credentials that you can use to integrate Jira Software Cloud with on-premises (self-hosted) tools. Currently, you can integrate with build and deployment tools, such as Jenkins, and it also supports development information from tools like repository managers.
We’re continuing to add support for OAuth 2.0 authorization across our Cloud REST APIs, including for Jira Software. As proof , last week we shipped OAuth 2.0 support for the “Get options for field” endpoint, and the JSW endpoints Dario shared above support 2.0 too - so progress is being made!
However, some endpoints are yet to receive this treatment and require an alternate authentication mechanism for the time being, either Connect/JWT or Basic Auth. Work to resolve this is in progress, but not yet complete. Unfortunately I can’t provide any firmer dates at this time, but will let you know as soon as we have a planned date for full coverage.
Just a quick update: JSWCLOUD-18874 OAuth 2.0 for all the JSW REST API endpoints has been implemented. There seems to be an issue with the endpoint to get all boards that is currently under investigation but all the other endpoints should already work.