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
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
I am new to JIRA Cloud. Need one help. I am trying to run API Call in postman, but I am not sure which Authentication works in JIRA Cloud. I tried Basic Authentication, but this method is deprecated. Then I tried to generate API token but in Postman under API token it's asking for key and value. I am not sure where I need to put API token in key or in Value which generated from my Atlassian account. Kindly suggest, how can run API call in postman.
Hi @Vikrant Yadav ,
Welcome to the future and to Cloud! I'm sure you'll find that it's great.
As you might have already noticed, REST Authentication works slightly different with Jira Cloud. I'll try to give you the TL;DR version, but if you need me to go into more detail, just let me know.
Technically, you are still using HTTP Basic Auth in Jira Cloud. However, you do not use your account's normal password, but rather the API token you generated (docs).
Two things are important to know here. First, your API token serves as a magic password for REST APIs that you can revoke anytime. This allows you to create a token for a specific script and then revoke that token when that script is being retired – think of it as an extra security measure.
Second, your API tokens are tied to your user account, not to a specific cloud instance. This is great if you happen to have access to a lot instances and need scripts that can interact with all of them. If you want to authenticate a script only for a single instance, we have this app on the marketplace.
From what you wrote, you are almost ready-to-go in Postman. You can just use Basic Auth with your Atlassian account's email as the username and the API token you created as a password. And that's it.
The API Key option in Postman works differently – it adds headers to your request which is not want you need here.
Hope that helps,