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!
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:
https://api.atlassian.com/ex/jira/{cloudid}/{api}https://api.atlassian.com/ex/confluence/{cloudid}/{api}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 ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Is the account also grant the Agent license and part of the role Service Desk Team?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.