Create Issue API is giving error response

Arti Ashok Agarwal May 6, 2024

We are getting the error as "Specify a valid project key or id" for the Create Issue API. The Project key we are using is valid and we have verified it for other APIs and it works fine. Only
Create issue API is giving this error. Also, we have fetched the project KEY using another API and the key we are using is valid.

API: https://<<base_url>>/rest/api/2/issue/



    "errorMessages": [],

    "errors": {

        "project": "Specify a valid project ID or key"



1 answer

0 votes
Matt Parks
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.
May 6, 2024

Can you include the API that you are passing? Does the user executing the API have permission to see the particular project?

Arti Ashok Agarwal May 6, 2024

API: https://<<base_url>>/rest/api/2/issue/
Yes, the admin is trying to invoke the API from postman.

Arti Ashok Agarwal May 6, 2024

Hello, can you please check and let me know if any other info is needed. We need a resolution for this at earliest.

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events