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.