Integrations

Connect Jira Service Management

Connect Jira Service Management so Leysa can update your tickets when a request finishes.

All articles

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

  1. Go to Atlassian Administration (admin.atlassian.com) and choose your organisation.
  2. Open Directory, then Service accounts, and click Create service account.
  3. Name it Leysa Integration. Agents see this name on Leysa's comments. Atlassian asks for a name of 6 to 30 characters.
  4. When it asks for app roles, find Jira Service Management for your site and choose User (agent). Leave every other app at None.
  5. Finish creating the service account.

The Apps tab of the Leysa Integration service account in Atlassian Administration, with Jira Service Management and the role User (agent)

Afterwards, the service account's Apps tab shows Jira Service Management with User (agent), and nothing else.

Step 2: Make an OAuth credential

  1. On the Leysa Integration service account, open the Credentials tab and click Create credentials.
  2. Choose OAuth 2.0.
  3. Name it Leysa ticket notes.
  4. Pick exactly two scopes:
    • read:jira-work, so Leysa can find tickets
    • write:servicedesk-request, so Leysa can add comments
  5. Check the summary and click Create.
  6. 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.

  1. In Jira, open a service space Leysa should work with.
  2. Open Space settings, then People and access, and click Add people.
  3. Find the Leysa Integration service account.
  4. Choose the Service Desk Team role and click Add.
  5. Repeat for each service space.

People and access in a Jira service space, with Leysa Integration in the Service Desk Team role

Leysa Integration in the Service Desk Team role.

Step 4: Enter the details in Leysa

  1. In Leysa, go to Integrations → Jira Service Management.
  2. Enter your Jira site address, for example https://yourcompany.atlassian.net.
  3. Paste the Client ID and Client Secret.
  4. Click Connect Jira Service Management.

The Service desk section of the Integrations page in Leysa, with a Connect link on each card

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

The Connect Jira Service Management form in Leysa, with the site address, Client ID and Client Secret filled in

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.

The Jira Service Management page in Leysa showing Connected and Connection healthy, with the checks for signing in and adding notes

  • 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.

The Ticket box on an automation form, with matching Jira Service Management tickets listed underneath

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.