I'm running Jira 7.3.8
I've created an API Token but am unable to get past an "Unauthorized 401"
I have read through, and tried dozens of solutions brought up in communities but still have not gotten success.
I've tried both syntax version with
-u <username>:<api token> . as well as
-H "Authorization: Basic <base64 encoded username:apiToken>
Still, I receive the 401 denial.
Any/all help appreciated !
Note, I was using -u <email>:<api token> and getting 401
I switched to -u <username>:<api token> and now I get 403
progress?
All I am trying to do is retrieve an issue that I created in JIRA.
Is is possible that there is a jira configuration not allowing the API token the same permissions my userid when logged in ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Try --> Authorization: Basic <base64 encoded username:password>
(instead of API Token)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for the suggestion. That also resulted in 403.
I should also mention that my access is vai OAuth though OneLogin with DUO for MFA.
According to the documentation I read, because I'm using MFA, I need to use an apitoken for access.
I feel like I made progress from 401 when using my email (which may mean it did not auuthenticate me) to a 403 when using username and apitoken or password, which seems to be authenticated but dissallowed.
Not sure if I'm interpreting this right.
End of day, I'd just love to get some success calling Jira REST interface.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.