Forums

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

JSM API

Rafal Skrzeczkowski October 17, 2025

I'm trying to use Endpoints in JSM API which ask about servicedesk and requests (especially SLA). I have admin permisions to project but still I can't reach those endpoints. 
Examples of such endpoints:

url = "https://xxx.atlassian.net/rest/servicedeskapi/request/{issueIdOrKey}/sla"

 

In that same time I can use such endpoints:

url = "https://xxx.atlassian.net/rest/servicedeskapi/organization/{organizationId}/user"
url = "https://xxx.atlassian.net/rest/servicedeskapi/request/{issueIdOrKey}/comment"

What am I missing in my permissions?

2 answers

1 vote
Nico Maikranz
Contributor
October 17, 2025

Hi @Rafal Skrzeczkowski ,

do you get a specific error message when trying to use named endpoints?

Rafal Skrzeczkowski October 17, 2025

403

{ "errorMessage": "You do not have permission to fetch the list of SLA custom fields", "i18nErrorMessage": { "i18nKey": "sd.sla.field.service.permission.error.fetch", "parameters": [] } }

Nico Maikranz
Contributor
October 17, 2025

Do you also get an error when you only use the request-endpoint?

url = "https://xxx.atlassian.net/rest/servicedeskapi/request/{issueIdOrKey}"

Rafal Skrzeczkowski October 17, 2025

no, I see a full response

Nico Maikranz
Contributor
October 17, 2025

Ok. Then I am out ideas at the moment.

I am also an admin in one of our service management projects and I can get the infos from both endpoints.

Sorry that I cant help you further :-( 

0 votes
Marc - Devoteam
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.
October 18, 2025

Hi @Rafal Skrzeczkowski 

Have you been assigned a JSM license, by the response you get on SLA, it seems not to be so.

You can be admin on a JSM project, but if you don't have a JSM license, you won't. be able to see all information.

To summarize, you don't have the agent license assigned (JSM license)

Rafal Skrzeczkowski October 27, 2025

I've checked and I have Premium license and the role is User (agent)

Marc - Devoteam
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.
October 28, 2025

Hi @Rafal Skrzeczkowski 

Please show a screenshot of the user used from overview in Administration User Management?

And also a screenshot of the permission this user has in the JSM project?

The API token used, is is a regular token or a scoped token?

Rafal Skrzeczkowski October 28, 2025

2025-10-28_09h30_58.png

Rafal Skrzeczkowski October 28, 2025

we use API token

Marc - Devoteam
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.
October 28, 2025

Hi @Rafal Skrzeczkowski 

What kind of API token, regular or a scoped token?

What are you rights on the JSM project?

Suggest an answer

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

Atlassian Community Events