---
updatedAt: 2026-11-05T11:03:19.000Z
agentTools:
  projectIndex: https://docs.xyte.io/llms.txt
---

# Jira

<Tabs>
<Tab title="Overview">

The Jira integration connects Xyte's incident management with Jira Service Management (JSM), keeping both systems in sync automatically.

**What it does:**

* **Incident opened in Xyte** (unless excluded by [Filtering](#filtering-optional)) → a new Jira Service Management request is created automatically, with full incident, device, and location details
* **Incident resolved in Xyte** → the Jira request is transitioned to the configured close status
* **Incident updated in Xyte** → when the incident changes, the Jira request's summary (built from your [summary template](#ticket-text-templates-optional), if set) and priority are updated
* **Jira request updated** → changes to the title, description, or priority in Jira are reflected back in Xyte (requires [webhook setup](#webhook-setup-sync-from-jira-to-xyte)). While a [summary template](#ticket-text-templates-optional) is set, summary edits in Jira don't change the incident title.

> **Authorization requires a site with both Jira and Jira Service Management.** Xyte requests the `write:jira-work` scope at authorization time so it can push incident updates back to Jira. Your Atlassian account must have access to a site that has **both** Jira and Jira Service Management enabled. If your account only has JSM, Atlassian will respond with `Access denied` on the consent screen; in that case, ask a workspace admin to enable a Jira product on the site or grant your user access to one.

***

</Tab>
<Tab title="Setup">

> 📘 Share the questionnaire first
>
> Send the [Jira questionnaire](https://docs.xyte.io/docs/jira-questionnaire) to your Jira admin before you start. It lists every answer you need to complete this setup yourself.

In the Xyte Organization portal, open **Settings → Integrations → Ticketing System** and choose **Jira**. The setup wizard has these steps:

* **Authorization** — connect your Atlassian account. See [Authorizing Access](#authorizing-access).
* **Service Desk** — the Jira Service Management project Xyte opens requests in.
* **Request types** — the Request Type used for new requests.
* **Field mapping** *(optional)* — which Jira fields the summary and description land in. See [Field Mapping](#field-mapping).
* **Templates** *(optional)* — your own text for the summary and description. See [Ticket text templates](#ticket-text-templates-optional).
* **Close status** — the transition applied when the Xyte incident is resolved. See [Close Status](#close-status).
* **Webhook** *(optional)* — sync changes made in Jira back to Xyte. See [Webhook Setup](#webhook-setup-sync-from-jira-to-xyte).
* **Filtering** *(optional)* — report only incidents at or above a chosen priority. See [Filtering](#filtering-optional).
* **Enable** — turn the integration on.

> 🚧 Save each step before moving on
>
> Each step has its own save button — **Update**, **Save mapping**, **Save templates**, **Save filtering**, **Activate**. The **Prev / Next** buttons only move between steps and save nothing, so leaving a step without clicking its own button discards what you entered there.

## Authorizing Access

<Image align="center" width="100% " src="https://files.readme.io/cbf2b831083880e1f3c81c1affc0a8d371cce54f6898d0f4562df29c4da124b8-Screenshot_2026-05-20_at_12.07.50.png" />

1. Click the **Authorize access** button.

2. You will be redirected to Atlassian's authorization page — log in with a user that has administrative privileges on your Jira instance.

3. Review and approve the requested permissions. Xyte requests the scopes needed to create and manage Service Desk requests and to push incident updates (summary, priority) back to Jira.

   <Image align="center" width="50% " src="https://files.readme.io/5891ff13d5a7e80a7b24d98fe93d9eb66b7ea104b2b012471127ce2033a84f78-Screenshot_2026-05-20_at_12.04.38.png" />

4. You will be redirected back to Xyte to complete the setup.

   <Image align="center" width="100% " src="https://files.readme.io/7670f7127c7ecb4ce2aaf3c29f0a1ceeef8ef65cc32be2b9f3092dfe6bac512c-Screenshot_2026-05-20_at_12.08.07.png" />

5. Click **Next**.

## Select Service Desk

1. Select the Service Desk from the list fetched from your Jira account.

   <Image align="center" width="100% " src="https://files.readme.io/50940b590c4ef2082bbc835113afcfd4ec1c81a2f898c33921e135c9e7e7d31d-Screenshot_2026-05-20_at_12.07.01.png" />

2. Click **Update**, then **Next**.

> If your required Service Desk is not listed, verify that there are no limiting permissions on the Jira side, then click the refresh icon button next to **Update** to have Xyte re-fetch all available options.

## Request Types

1. Select the Request Type to use when new incidents are detected.

   <Image align="center" width="100% " src="https://files.readme.io/b52a4dde985f688b3dc687b0594d969df9e19a541dbbaadc1f2c7c98465f0457-Screenshot_2026-05-20_at_12.07.10.png" />

2. Click **Update**, then **Next**.

> If your required Request Type is not listed, verify that there are no limiting permissions on the Jira side, then click the refresh icon button next to **Update** to re-fetch all available options.

## Field Mapping

Xyte sends two fields when it creates a Jira request:

* **Summary** — the incident title, or your **Summary** template if you set one (see [Ticket text templates](#ticket-text-templates-optional)).
* **Description** — the full incident details, including: incident ID and link, status, priority, organization, device (model, serial, MAC, IP, firmware, last seen, link) and the space path, and more (incident description, assignee, created/closed times, customer, vendor, connection) — or your **Description** template if you set one.

By default each one goes to the same-named field on the selected Request Type. Use this step to map them to a different field, or choose **— Do not send —**. A field set to **— Do not send —** is not sent, whatever its template says.

1. For each Xyte field, pick the Jira field it should land in.
2. Click **Save mapping**, then **Next**.

> **The dropdown only lists fields that are on the Request Type's form.** Jira rejects any field that isn't on the request form, so Xyte only offers (and only sends) fields the form exposes. If **Description** is missing from the list, your Jira requests will arrive with the title only.
>
> To fix it:
>
> 1. In Jira Service Management, go to **Project settings → Request types →** *(the Request Type Xyte uses)* **→ Request form**, and add the **Description** field to the form. It can be optional, or hidden from the customer portal.
> 2. In Xyte, go back to the **Request Types** step and select the Request Type again, so Xyte re-reads the form's fields. If the same type won't save, switch to another one and back. Each pick creates a test request in Jira ("Xyte Integration - Workflow Discovery") that you can delete.
> 3. In **Field mapping**, map Description → Description and click **Save mapping**.
>
> Note: choosing the Request Type again (step 2) resets the **Field mapping** and the **Close status** and disables the integration — so select the close status again and re-activate it in the **Enable** step.

## Ticket text templates (optional)

The **Templates** step sets the text Xyte writes into the request's **summary** and **description**. Both are optional — leave a field blank and Xyte keeps its built-in behavior (the incident title for the summary; the full structured device/space details for the description).

1. Type your text into **Summary template** and/or **Description template**, inserting `{key}` placeholders. Under **Available keys**, click a key to append it to the description template.
2. Click **Save templates**, then **Next**.

Each placeholder is replaced with that incident's value — for example:

```text
{title} - {priority} - {space_name}
```

### How placeholders behave

* A key with **no value** for that incident renders as nothing, and the rest of the text is kept.
* An **unrecognized** key (a typo, or a Jira macro such as `{quote}` or `{code}`) is sent through **as written**.
* Only letters, digits and underscores are recognized inside the braces: `{space_name}` works, `{space name}` is left as plain text.
* The **summary** is always sent as **one line** — Jira doesn't accept a multi-line summary, so line breaks (from the template or from a value) are collapsed into single spaces. A summary longer than 255 characters (Jira's limit) is cut at 255 and ends with `...`.
* To get the default for a field (the incident title, or the structured details), leave its template **blank**.
* The **summary template** is applied when the request is created and again whenever the incident itself changes (title, description, status, priority, assignee, or closing). Renaming a device or space doesn't refresh it on its own. Updates need the `write:jira-work` permission, which Xyte requests at authorization.
* The **description template** is applied **only at creation** — Xyte never rewrites the description afterwards.
* Templated text still goes through [Field Mapping](#field-mapping): the description only lands in Jira if the Request Type's form has a **Description** field and it's mapped.
* While a summary template is set, edits to the summary in Jira **don't** change the incident title in Xyte, and the next incident update overwrites them with the rendered template. Without one, the [webhook](#webhook-setup-sync-from-jira-to-xyte) syncs summary edits back to the incident title.

### Available keys

The **Templates** step lists every key you can use under **Available keys** — incident, device and space values such as `{title}`, `{priority}`, `{incident_id}`, `{xyte_link}`, `{device}` and `{space_name}`.

## Close Status

1. Select the status transition to apply to a Jira request when the incident is resolved in Xyte.
2. Click **Update**, then **Next**.

> 🚧 Only customer-portal transitions are listed
>
> Xyte closes requests through Jira Service Management's customer-request API, which offers only transitions that customers can run. In the request type's workflow, open the closing transition (for example **Resolve this issue**) and tick **Show transition in the customer portal**, then publish the workflow. A transition without this option doesn't appear in the **Close Transition** list.

> If your required Close Status is not listed, check the option above and the permissions on the Jira side, then click the refresh icon button next to **Update**.
>
> The list shows the transitions available from the request type's **first** status (the status a new request starts in). Make sure the closing transition can also run from every other open status — for example a transition from **any status** — otherwise Xyte will not be able to close the request.
>
> **Status changes made in Jira:** if an agent moves a request to a status the chosen transition can't run from (for example **Escalated**), Xyte's close attempt for that request fails when the incident is resolved, and the request stays open in Jira. Xyte doesn't retry it. Summary and priority updates keep syncing. Close such requests in Jira, or make the transition available from every open status.
>
> To disable automatic closing (and manage request status entirely from Jira), select the **Do not automatically close** option.
>
> To list the available transitions, Xyte opens a test request titled **Xyte Integration - Workflow Discovery** in the chosen service desk each time the request type is selected or the list is reloaded. Xyte doesn't close it — close or delete it in Jira.

## Webhook

<Image align="center" src="https://files.readme.io/981acc8c997e66d65df608e4936a9c70838640448c0a5cecceddd528e4a71505-Screenshot_2026-05-20_at_12.07.31.png" />

Optional — see [Webhook Setup](#webhook-setup-sync-from-jira-to-xyte) below.

## Filtering (optional)

Choose the **Minimum incident priority to report** — **No filter — send everything** (the default), or **Critical and above** down to **Planning and above** — and click **Save filtering**.

Incidents below the selected priority are skipped, and stay skipped for their whole lifecycle even if their priority is raised later. An incident that was already reported keeps updating normally even if its priority is later lowered.

## Enable

1. Click the **Activate** button to enable the integration (the same button reads **Disable** while it's active).

   <Image align="center" width="100% " src="https://files.readme.io/f51701ffd09c00fe1d510c3e3847d671a838ea9bda820ce9374ead5f9caafc3f-Screenshot_2026-05-20_at_12.07.42.png" />

Once active, every new Xyte incident (unless excluded by [Filtering](#filtering-optional)) will automatically open a Jira Service Management request.

***

# Webhook Setup (Sync from Jira to Xyte)

By default, sync goes one way: Xyte → Jira. To enable updates from Jira back to Xyte (title, description, priority changes, and closing the Xyte incident when the Jira request is resolved), register a webhook in Jira and share a secret with Xyte.

The setup is a one-time flow:

1. Create the webhook in Jira
2. Generate the shared secret
3. Paste the secret into Xyte's Webhook step
4. Verify it's working

> **You need site-admin permissions in Jira** to access the WebHooks page below. If you don't have access, ask your Jira admin to do Steps 1–2 and hand off the secret.

## What syncs back to Xyte

| Jira change                         | Effect in Xyte                                                                                     |
| ----------------------------------- | -------------------------------------------------------------------------------------------------- |
| Summary (title) updated             | Incident title updated (not while a [summary template](#ticket-text-templates-optional) is set)                |
| Description updated                 | Incident description updated                                                                       |
| Priority changed                    | Incident priority updated (Highest→Critical, High→High, Medium→Moderate, Low→Low, Lowest→Planning) |
| Status moved to a **Done** category | Xyte incident is closed                                                                            |

> Xyte will not reopen a closed incident, even if the Jira request is reopened.

## Step 1 — Create the webhook in Jira

1. In Jira, navigate to **Settings (cog icon) → System → WebHooks** (under the **Advanced** section).
   * Direct URL: `https://<your-jira-instance>.atlassian.net/plugins/servlet/webhooks`
2. Click **+ Create a WebHook**.
3. Fill in the form:

| Field                    | Value                                                                                                                                                                                                                                |
| ------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| **Name**                 | `Xyte Callback` (or any descriptive name)                                                                                                                                                                                            |
| **Status**               | Enabled                                                                                                                                                                                                                              |
| **URL**                  | `https://hub.xyte.io/external/jira/webhook`                                                                                                                                                                                          |
| **Issues – JQL**         | Leave blank to receive events for all issues, or use a JQL filter to scope the webhook to a single project (e.g. `project = SUP`). On busy instances this is recommended — limit the webhook to the project(s) Xyte opens issues in. |
| **Issue related events** | Check **updated**                                                                                                                                                                                                                    |

Do **not** save the form yet. Continue to Step 2 to generate the secret first.

## Step 2 — Generate the shared secret

Still on the WebHooks create form:

1. In the **Secret** section, click **Generate secret**. Jira will populate the field with a fresh random string.
2. **Copy the secret value now** — Jira hides it permanently after you save and you'll need to regenerate (which invalidates any existing pairing) if you lose it.
3. Click **Save** to create the webhook. Jira will now sign every delivery with HMAC-SHA256 over the raw request body using this secret, and include the signature in the `X-Hub-Signature` header.

> If you'd rather supply your own value, paste any strong random string (e.g. `openssl rand -hex 32`) into the Secret field instead of clicking Generate. Treat it like a password.

## Step 3 — Paste the secret into Xyte

1. In Xyte, open the Jira Integration settings and click the **Webhook** step in the setup wizard (between **Close status** and **Filtering**).
2. Paste the secret from Step 2 into **Webhook Secret** and click **Update**.

The Webhook step is optional and can be completed at any time, even after the integration is already active. If you skip it, Xyte → Jira continues to work; only the Jira → Xyte direction is disabled.

> Without a matching secret in Xyte, inbound webhook deliveries from Jira are rejected with `403 Forbidden`. The integration's outbound sync (Xyte → Jira) is unaffected.

## Step 4 — Verify it's working

1. Open any Jira request that is linked to a Xyte incident.
2. Change the **summary**, **priority**, or **description**, or transition the request to a status in the **Done** category.
3. Open the matching incident in Xyte and confirm the change is reflected (typically within a few seconds).

If nothing happens, see [Troubleshooting](#troubleshooting) below.

## How Xyte authenticates the request

For every inbound delivery Xyte recomputes `HMAC-SHA256(body, webhook_secret)` and compares it (constant-time) to the value Jira sent in the `X-Hub-Signature` header (in the form `sha256=<hex>`). The first active Jira integration whose stored secret produces a matching signature wins; if none match, the request is rejected with `403 Forbidden`.

Once authenticated, Xyte matches the Jira request ID to an existing incident in that integration's organization. If no incident is found, the event is silently ignored — Xyte does not create incidents from Jira-originated events.



# Updating

You can update the integration settings (service desk, request type, field mapping, templates, close status, filtering) or disable the integration at any time from the Jira Integration settings in Xyte.

* **Field mapping and description template** are used only when a request is created, so a change affects new requests only. Changing the service desk or request type resets settings — see the last bullet below.
* **Summary template** — existing requests pick up the new summary on their next update.
* **Close status** applies to every incident resolved after the change, including ones opened before it.
* **Choosing a different Service Desk or Request Type disables the integration** — re-activate it in the **Enable** step. After changing the Service Desk, pick the Request Type again too. Choosing a Request Type clears the field mapping and close status, so set those again before re-activating.

</Tab>
<Tab title="Troubleshooting">

## Troubleshooting

| Symptom                                                                        | Likely cause                                                                                                                                                                                      |
| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Jira deliveries to Xyte show `403 Forbidden` in the Jira webhook **Audit log** | The secret in Xyte's Webhook step doesn't match the one Jira is signing with. Re-do Steps 2–3, making sure to copy the secret verbatim.                                                           |
| Jira deliveries time out or get connection errors                              | The webhook URL is unreachable from the internet. Confirm `https://hub.xyte.io/external/jira/webhook` is reachable from your Jira instance (Jira Cloud cannot reach private/localhost addresses). |
| Webhook fires but the Xyte incident doesn't change                             | The Jira request ID isn't linked to a Xyte incident. Xyte ignores events for requests it didn't create.                                                                                               |
| Status transitions don't close the Xyte incident                               | The destination Jira status must be in the **Done** status category (not just named "Done"). Check the workflow in Jira's project settings.                                                       |
| Lost the secret value                                                          | Open the webhook in Jira, click **Change secret**, generate a new one, and re-paste it into Xyte. The previous secret is invalidated.                                                             |
| Jira requests arrive with the title only / **Description** isn't offered in Field Mapping | The Request Type's form in Jira has no Description field. Add it to the request form, then select the Request Type again in Xyte and map it — see [Field Mapping](#field-mapping). |
| A transition is missing from the **Close Transition** list | The transition isn't offered to customers. Tick **Show transition in the customer portal** on it in the request type's workflow, publish the workflow, and reload the list — see [Close Status](#close-status). |
| Incident resolved in Xyte, but the Jira request stays open | The request was moved in Jira to a status the chosen close transition can't run from, so the transition failed. Close the request in Jira, and make the transition available from every open status — see [Close Status](#close-status). |
| A `{placeholder}` shows up literally in the Jira request | The key isn't recognized — check its spelling against **Available keys** on the **Templates** step. Only letters, digits and underscores work inside the braces. |

***

</Tab>
</Tabs>