Basic auth in Postman does not work with latest REST API

tamas.orban January 10, 2020

Hello, hope someone can help me. I have imported the last collection into Postman from here: https://developer.atlassian.com/cloud/jira/platform/rest/v3/ by clicking on Run postman. Every data were added of course. When I try to send a request (actually any request), I got the following message: "Basic auth with password is not allowed on this instance."

I have read all the posts in the forum, but haven't found a solution yet. I am using my API token with my username. If I copy the request from postman's console into my browser, It works, but from postman not... Any help would be highly appreciated!

Bests,

Tamas

1 answer

1 accepted

0 votes
Answer accepted
brbojorque
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 12, 2020

Hi @tamas.orban ,

I just tested my API access using Postman and it is working fine on my end.

In Postman, you need to setup the Environmental variables that Jira Cloud API needed to work.

https://learning.getpostman.com/docs/postman/variables-and-environments/variables/

Refer to my environmental variables setup below. 

Screenshot from 2020-01-12 19-47-16-editted.png

tamas.orban January 12, 2020

Thanks, I found out, there was a type-o in my API token :), Now, It works fine.

Anar_Rustamov February 27, 2020

Hi,

 

Tamas, actually, I could find, the global variable from the picture. Could you please provide a little hint. I also have same issue. But cannot log in from postman.

Thanks

tamas.orban February 28, 2020

Hi, How can I help you? My problem was just a typo.

Alisha Ahuja April 8, 2020

Hello - I'm also experiencing the same issue. I configured my postman environment settings to be exactly like the picture above, however am still getting the error "Issue does not exist or you do not have permission to see it."

 

When I call the REST API in my web browser, it works just fine. I'm trying to call the status of a specific issue:

https://yourdomain.atlassian.net/rest/api/latest/issue/issueid

 

Any help would be appreciated.

Suggest an answer

Log in or Sign up to answer