To summarise:
I'm trying to use postman to retrieve the status of a (cloud) issue using the Jira REST API.
I've got an API key, and tried using Basic HTTP auth. to put the request through, but it comes back with a 401 HTTP error.
I've tried two methods:
* using my Jira login email for the username, and my API key for the password
* using base64 encoding to encode both my username AND key together and putting that in the password, and just using "Basic" in the username.
Both methods give me back the same error.
I've read on one issue that if you use a single sign-on (SSO) the email that you use to log in can be different to the email used for Auth. Can I find that original email anywhere to use instead to confirm this? Thanks folks!
Fixed this one myself.
1. I was using jira.atlassian.com/rest/... as my api endpoint (this was really clear in the docs I read) but the correct (as of current) way to build the URI is as follows:
company.atlassian.net/rest/api/3/... (at least for cloud Jira integrations)
2. the pictured "Basic : Password" auth is deprecated, you use your email (for me my company one worked fine contrary to my post) and my api key as the password.
Combined I'm now able to locate info on my company's jira cloud platform!
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.