Hi all,
We are currently switching to API token-based authentication to query the JIRA Cloud REST API, using a fork of maven-changes-plugin.
This was working previously using a username/password Basic Auth authentication scheme, but now this is failing big times using the API token instead of the password.
Authentication looks ok, since we get a 200 OK back from the server, but attempting to query (for instance) the list of projects that the user can see always returns back with an empty array:
curl -v https://oursite.atlassian.net/rest/api/3/project -u 'username:apitoken'
Authorization: Basic cGRvs67.....
HTTP/2 200
[]
Obviously, the user can login successfully in the UI, see and browse many projects...
Any idea?