Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Getting Unauthorized for searching issues on Jira with JWT token (Bearer)

Raghav Mishra January 17, 2022

Issue:

We're using Jira's 3LO on our application. As soon as I login, I get the access_token from Jira. I use this token to search through my project, but I get a 401, Unauthorized.

Additional Details (response):

  1. Scopes --> 'read:jira-work read:jira-user'
  2. token_type --> Bearer.

We're firing this API with the following parameter :

  1. Endpoint --> https://<company_name>.atlassian.net/rest/api/3/search
  2. jql --> project = "MT" AND text~App
  3. fields --> description,summary

 

Are we missing out on a scope or is has the URL been updated to a different version? This used to work a couple of months before. Really appreciate any help on this.

NOTE: We have also moved to rotational refresh tokens in Jira 3LO. So, we're using the latest token refreshing mechanism.

 

0 answers

Suggest an answer

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

Atlassian Community Events