Last updated 6 October 2026
When Jira Service Management is connected, you can link a Leysa request to a ticket. When the request finishes, Leysa adds an internal comment to that ticket saying what happened.
You connect Jira Service Management in three steps. First you make a service account for Leysa in Atlassian Administration. Then you add it to your service spaces. Then you enter its details in Leysa.
Before you start
- Time needed: About 10 minutes
- Your role in Leysa: Owner or Admin
- Your role in Atlassian: Organisation admin, and admin of the service spaces Leysa should work with
- What you will copy from Atlassian: Your Jira site address, a Client ID and a Client Secret
Three things to know:
- Leysa uses a service account, not a person's account. Its comments appear under the service account's name, and the connection keeps working when staff leave.
- Service accounts don't use an agent licence. Your Atlassian organisation gets five free.
- Only one service desk can be connected at a time. If Halo, Freshservice or ServiceNow is connected, disconnect it first.
Step 1: Make a service account for Leysa
- Go to Atlassian Administration (admin.atlassian.com) and choose your organisation.
- Open Directory, then Service accounts, and click Create service account.
- Name it
Leysa Integration. Agents see this name on Leysa's comments. Atlassian asks for a name of 6 to 30 characters. - When it asks for app roles, find Jira Service Management for your site and choose User (agent). Leave every other app at None.
- Finish creating the service account.

Afterwards, the service account's Apps tab shows Jira Service Management with User (agent), and nothing else.
Step 2: Make an OAuth credential
- On the Leysa Integration service account, open the Credentials tab and click Create credentials.
- Choose OAuth 2.0.
- Name it
Leysa ticket notes. - Pick exactly two scopes:
- read:jira-work, so Leysa can find tickets
- write:servicedesk-request, so Leysa can add comments
- Check the summary and click Create.
- Copy the Client ID and Client Secret. Atlassian shows the secret only once.
Atlassian doesn't let you change a credential's scopes later, so check both are listed on the review step before you click Create.
OAuth credentials don't expire. Atlassian's API tokens do, so choose OAuth 2.0, not API token.
Step 3: Add the service account to your service spaces
Leysa can only see tickets in service spaces it belongs to.
- In Jira, open a service space Leysa should work with.
- Open Space settings, then People and access, and click Add people.
- Find the Leysa Integration service account.
- Choose the Service Desk Team role and click Add.
- Repeat for each service space.

Leysa Integration in the Service Desk Team role.
Step 4: Enter the details in Leysa
- In Leysa, go to Integrations → Jira Service Management.
- Enter your Jira site address, for example
https://yourcompany.atlassian.net. - Paste the Client ID and Client Secret.
- Click Connect Jira Service Management.

Jira Service Management is in the Service desk section of the Integrations page.

The three details to enter. The Client Secret is hidden as you type.
Leysa checks the details with Atlassian before it saves them. If Atlassian accepts them, Jira Service Management shows as Connected.
Check it worked
- The Jira Service Management page in Leysa shows Connected and Connection healthy.

- Open any automation. A Ticket box now appears on the form. Type a ticket key such as
IT-42, or words from its title, and the ticket appears in the results.

What Leysa can do
Leysa can read tickets and add comments to them. Nothing else.
- Its comments are internal, so the customer on the ticket does not see them.
- Its comments never include passwords or password links.
- Leysa keeps only the ticket key, not the ticket's contents.
- The Client Secret is stored encrypted.
If something goes wrong
The Jira Service Management page in Leysa runs a check each time you open it, and says what to change. If Leysa can't add a comment because of the connection, Leysa's admins get an email and a notification, at most once a day.
- Leysa says it can't see any open tickets. The service account isn't in the service space. Do Step 3.
- Leysa says the Client ID or Client Secret is wrong. The credential was revoked, or a value was pasted wrongly. Make a new credential (Step 2) and click Update details on the Jira Service Management page.
- Leysa says the credential doesn't have a scope. Make a new credential with both scopes (Step 2). You can't add a scope to an existing credential.
- A ticket key says it isn't in a service space. Leysa only adds comments to service desk tickets, not to tickets in other Jira spaces.
- The Connect button is missing. Another service desk is connected. Disconnect it first.
Change or remove the connection
- Change the name on Leysa's comments: rename the service account in Atlassian Administration.
- Replace the credential: make a new one (Step 2), click Update details in Leysa and paste it, then revoke the old one in Atlassian.
- Disconnect: on Integrations → Jira Service Management, click Disconnect. Leysa stops linking requests to tickets straight away.
- Remove Leysa from Atlassian as well: revoke the service account's credential, or delete the service account.
Related
Still need help? Tell us what you were trying to do and a member of our team will help.