Forums

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

What OAuth scope does a service account API token need to read Assets objects via REST?

Ash Sundar
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 26, 2026

I'm using an Atlassian service account with an API token to read Jira Service Management data. Reading work items works fine using the https://api.atlassian.com/ex/jira/{cloudId} base URL.
However, when I try to read an Assets object via:
GET https://api.atlassian.com/ex/jira/{cloudId}/jsm/assets/workspace/{workspaceId}/v1/object/{objectId}
I get:
401 Unauthorized; scope does not match
When I set up the token scopes, I can only find the standard Jira scopes (read:jira-user, read:jira-work, read:servicedesk-request) — none of which seem to cover Assets.
I'm a bit stuck on how to proceed. Which scope do I need to add to the token so the service account can read Assets objects? And where do I find it when configuring the token's scopes?
Thanks in advance.

1 answer

0 votes
David Nickell
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 Champions.
May 26, 2026

Here's the "no explanation offered answer"  read:cmdb-object:jira


Read on for the background:

Why I say that... I built a REST API Browser from the documentation Atlassian Provides but few people probably notice.

My REST Browser (free - help yourself): 

The Atlassian documents:

In the screen shots attached, you will see what many people miss (I assume).  And here is a screenshot from my browser, and their doc.   Enjoy!

RESt API Secrets.png

 

 

Suggest an answer

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

Atlassian Community Events