Forums

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

OAuth 2.0 for JSM – Service Account Integration

Christos Markoulatos
Community Champion
October 22, 2025

Hi all
I need help with Jira Service Management Cloud API and OAuth 2.0 using a service account.

What I want to do:

  • Use a service account with OAuth 2.0 (not API token) for full integration with JSM API.
  • Be able to GET /servicedeskapi/request to fetch customer requests, not just create them.

What I’ve done so far:

  • Created a service account and selected OAuth 2.0 as the authentication type.
  • Obtained an access token via Client Credentials flow.
  • The token includes many granular JSM scopes (e.g., read:request:jira-service-management, write:request:jira-service-management, read:jira-work).
  • With this token:
    • Works: /servicedeskapi/servicedesk (returns service desks).
    • Fails: /servicedeskapi/request (returns 401 or empty).

Questions:

  1. Has anyone successfully fetched requests using service account OAuth?
  2. Do Jira classic scopes fully cover JSM endpoints, or do we need something else?
  3. Is this a known limitation, and should we switch to API token + Basic Auth or use Authorization Code flow (3LO)?

1 answer

0 votes
Mohamed Benziane
Community Champion
October 23, 2025

Hi,

I have the same issue, but with Jira (not JSM). I can successfully generate the OAuth2 token, but I can’t access any issues using it. However, with the same token, I can access user information via the /rest/api/3/user endpoint.

I have raised a ticket with Atlassian Support, they are still investigating. May be you should also contact the support.

Christos Markoulatos
Community Champion
October 24, 2025

Thanks Mohamed for the update, i will do so. and keep you posted as well!

Like Mohamed Benziane likes this

Suggest an answer

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

Atlassian Community Events