I am working on changing our apps to use basic auth with an API Token per Jira's deprecation notice, but GET create meta returns an empty array:
curl -D- \
-u fred@example.com:freds_api_token \
-X GET \
-H "Content-Type: application/json" \
https://your-domain.atlassian.net/rest/api/3/issue/createmeta
# => {"expand":"projects","projects":[]}
and a POST request to create an issue returns an error response similar to when the user does not have admin permission to edit the screen:
"Field <field name> cannot be set. It is not on the appropriate screen, or unknown."
However, the supplied user name definitely has admin permission.
I have also tried this with the Base64 encoded user:token in the Authorization header
but I get the same responses.
Any help would be much appreciated.