Not able to get project details through rest API

Dashboard February 23, 2024

Hi, 

I am unable to get project details using rest API. I have projects created in my account. But still those project or project related data is not showing when I hit the API.

I am getting error like this 

"No project could be found with key '{Here my project Id}'."
Below is the endpoint details that I am providing:
"let config = {
method: 'get',
maxBodyLength: Infinity,
headers: {
'Authorization': 'Basic {API key here}',
'Cookie': '{Jira Cookie here}'
},
data : data
};"
Kindly help me here.
Thanks

1 answer

0 votes
Perisic Nikola
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.
February 23, 2024

Welcome to the community @Dashboard !

Are you using Postman? Or are you using languages like Python, Java, etc?

Dashboard February 23, 2024

Yes, I am using Postman and Node JS

Perisic Nikola
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.
February 23, 2024

Are you using this one /rest/api/3/project/{projectIdOrKey}? In the Postman for path parameters you have specified your project ID?

Dashboard February 23, 2024

Yes

Dashboard February 27, 2024

@Perisic Nikola Any update ?

Suggest an answer

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

Atlassian Community Events