Hi. i am calling Jira get issue api with bearer token but not able to get the result but when i used basic Auth it works fine could anyone please suggest how i can call this api using bearer Token.
Hello @Sudhir Choudhary ,
If your token was generated using API tokens, according to Atlassian's documentation, it seems that API tokens are meant to be authenticated using basic auth and not bearer:-
If you are looking to implement OAuth 2.0, perhaps you can refer to the documentation below for further information:-
Hope this helps.
Regards.
Thanks @Adrien Low _ServiceRocket_ for your Answer, I already implemented Oauth 2.0 but still I am not able to get the correct response from Api as you can refer error screenshot in attachment. According to my requirement authentication should be done with Oauth 2.0 only not with API tokens.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @Sudhir Choudhary ,
Do you have more information on how you have implemented OAuth 2.0?
If you have configured OAuth2.0 EXACTLY according to this documentation, then you should be calling the below URL instead:-
You can refer to the section below for more information on building the request URL:-
Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Adrien Low _ServiceRocket_ , Yes i configured Oauth2.0 According to the document but didnot not use cloud id i will try again as you suggested.
Thanks
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.