Are you in the loop? Keep up with the latest by making sure you're subscribed to Community Announcements. Just click Watch and select Articles.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Hi. i am calling Jira get issue api with bearer token but not able to get the result but when i used

Edited

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.Rest_Api_issue.png

1 answer

0 votes
Adrien Low _ServiceRocket_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Oct 31, 2023

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.

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.

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

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
TAGS
AUG Leaders

Atlassian Community Events