I'm attempting to use the `/rest/api/3/issue/createmeta` API to get issue information to use for creating issues. My Basic Auth appears to work fine because I can hit the API and it returns data as expected:
curl --request GET \
--url 'https://foo.bar/rest/api/3/issue/createmeta' \
--header 'Accept: application/json' \
--header 'Authorization: Basic foobar'
But if I use any of the project keys returned and add it to the URL, e.g. `https://foo.bar/rest/api/3/issue/createmeta&projectKeys=FOO` I always get "errorMessages":["Issue does not exist or you do not have permission to see it."]
I then tried using any of the other query string parameters, e.g. issuetypeIds, etc.. and this leads to the same error message.
I've checked Permission Scheme on the projects and Create Issue is granted to Users and Admin (I'm an Admin but another person with User role also is facing the same issue). I'm a bit stuck as to why this error is happening.
query string begins with & instead of ? :facepalm:
Jesus.. 😅
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
No, but I'm embarrassed to say this was all due to user error, the query string begins with & instead of ? :facepalm:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.