You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
From POST man am trying to get project details by key using the cloud jira APIS jira cloud API docs
https://<mysite>.atlassian.net/rest/api/3/project/<peoject key>
its returning me
for authentication am using username:<APIToken> => this user has full access to that project.
by logging in using UI that project is present but using API it return error No project could be found with key What will be the cause?
I got this answer myself.
i auth header i was adding <username>:<API Token> which was wrong
it should use basic auth and in place of password user API token then it has worked
But i still dont know why JIRA Rest APIs not returning proper error message? as this issue is related to authentication and its returning me project did not found.
Hi,
my guess is that you copied the url from the API spec or somewhere else and did not change the <project_key> placeholder with the actual project key. Say you have a project with key 'SWAP' you would use the following url
https://<mysite>.atlassian.net/rest/api/3/project/SWAP
Good luck,
Best Ulrich,
// We eliminate boring from work!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Did you respect the case ? The API is case sensitive (at least in Jira server)
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.