Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

"errorMessages":["Issue does not exist or you do not have permission to see it."] w/ projectKeys

Sean Wendt June 26, 2020

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.

2 answers

1 accepted

1 vote
Answer accepted
Sean Wendt June 26, 2020

query string begins with &  instead of ? :facepalm: 

Mathis Hellensberg
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 27, 2020

Jesus.. 😅

0 votes
Mathis Hellensberg
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 26, 2020

Hi @Sean Wendt 

I'm not sure, but isn't it just project=FOO and not projectKeys=FOO?

Cheers!

Sean Wendt June 26, 2020

No, but I'm embarrassed to say this was all due to user error, the query string begins with &  instead of ? :facepalm: 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events