Forums

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

How to make an organization API call with scopes

Melbrin NGOUILOU
Contributor
December 4, 2025

I’m trying to run the following endpoint:

GET or POST :  rest/servicedeskapi/organization

The call works perfectly when authenticated with my personal user account but it doesn't work when I use scopes with my personal account or a service account.

But when using a service/technical account, the exact same request fails (Client must be authenticated):


To rule out permission issues, I already ensured that the service account has:

All JSM project permissions, including Create issue, Edit issue, Browse project, Service Desk Agent, etc.

Both the service account and I are Jira admins.

 

I use thoses scopes :


Classic RECOMMENDED:manage:servicedesk-customer
Granular: read:organization:jira-service-management
Despite this, the organization call still fails, while it succeeds for a normal user.

So my question is:

👉 Has anyone actually managed to make an organization API call work with a service account on JSM Cloud?

If yes, could you share:

Which authentication method you used (API token, OAuth 3LO, Forge, Connect app, etc.)

Which scopes or permissions were required beyond 

Classic RECOMMENDED:manage:servicedesk-customer
Granular: read:organization:jira-service-management
Whether a service account needs additional, undocumented permissions

Any limitations you’ve encountered with the new Assets API when using non-human accounts

Any working example (curl/Postman + config) would be extremely helpful.

Thanks a lot!

2 answers

1 vote
Mikael Sandberg
Community Champion
December 4, 2025

When you are using a service account you have to use a different URL than what the documentation is showing. These are the URLs that you have to use:

Melbrin NGOUILOU
Contributor
December 8, 2025

I've been trying this also. I've made it with AQL and creating issues with request type but can't have this specific API working. Have you already achieved this with organizations ?

0 votes
Marc -Devoteam-
Community Champion
December 5, 2025

Hi @Melbrin NGOUILOU 

Is the account also grant the Agent license and part of the role Service Desk Team?

Melbrin NGOUILOU
Contributor
December 8, 2025

Yes !

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events