Forums

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

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
Nikola Perisic
Community Champion
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

Nikola Perisic
Community Champion
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

@Nikola Perisic Any update ?

Khalil Charkaoui
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 2, 2024

@Dashboard Have you found a solution for this error?

Suggest an answer

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

Atlassian Community Events