> ## Documentation Index
> Fetch the complete documentation index at: https://docs.decimal.app/llms.txt
> Use this file to discover all available pages before exploring further.

# Escalation Agent

> File engineering issues in Jira or Linear from support tickets, once, with the investigation attached and duplicates caught.

The Escalation Agent is in early access. Contact [support@getdecimal.ai](mailto:support@getdecimal.ai) to turn it on for your organization.

When a ticket needs engineering, the Escalation Agent files it for you. It watches for tickets that move to the states you choose, checks Jira or Linear for an existing issue, and either files a new issue with Decimal's investigation attached or adds the customer to the issue that's already there. Support gets a note on the ticket either way.

Open **Settings → Escalations**. Only admins can see it.

## Set it up

**1. Connect your systems**

Connect your helpdesk (Intercom, Pylon, Plain, or Zendesk) and your tracker (Jira or Linear) under [**Settings → Integrations**](https://app.getdecimal.ai/settings/integrations).

**2. Choose where tickets come from and go**

Under **Set up escalations**, pick the **Helpdesk** and **Tracker**, then click **Set up escalations**. For Linear, choose the **Linear team**. For Jira, choose the **Jira project** and a **Default issue type**.

**3. Choose when to escalate**

Under **Escalate when**, pick at least one trigger. A ticket must match a pick in each group:

* **Decimal finds**: **Bug** or **Feature request**, from the ticket's [investigation](https://docs.decimal.app/agents/investigation.md)
* **Moved to**: one or more of your helpdesk's ticket states, like an "Escalate to engineering" state your team already uses

**4. Turn it on**

Turn on **Enable escalations**. The line at the top of the page summarizes what will happen, like "Intercom tickets are filed in **Linear · Platform** when they move to **escalated** and Decimal finds a bug."

New escalations only apply to tickets created after setup. Changing the helpdesk or where issues go resets trigger states and issue fields to their defaults, and asks you to confirm first.

## How a ticket is escalated

1. **It qualifies.** The ticket is from your chosen helpdesk, it moved to a trigger state, it matches **Decimal finds** if you picked it, and it has an investigation. Tickets already escalated are skipped.
2. **It's checked for a duplicate.** The agent searches open issues in the same Jira project or Linear team and judges whether any is the same problem. See [Duplicates](#duplicates).
3. **It's filed, or linked.** A new issue gets Decimal's write-up. A duplicate gets the ticket's details on the existing issue instead.
4. **Support is told.** A note on the helpdesk ticket says where it went, like "Tracked by Linear: PLAT-412."

The agent checks for newly qualifying tickets every minute. If filing fails, it tries that ticket again after 24 hours.

## What goes into the issue

A new issue gets a description written for engineering:

| Section | Contains |
| - | - |
| **Bug description** | What's broken, in plain terms |
| **Steps to reproduce** | From the ticket and the investigation |
| **Relevant links** | Links from the ticket and investigation |
| **Recommended next steps for engineering** | Where to look first |
| **Additional Info** | Anything else that matters |
| **Internal investigation** | Decimal's investigation, in full |
| **Decimal triage** | The field values Decimal picked, and why |

The issue links back to the helpdesk conversation, and relevant attachments come along. In Linear, attachments are uploaded under **Attachments**, and @mentions from the ticket are neutralized so nobody is pinged by accident.

### Issue fields

By default, **Summary** comes from the ticket title and **Description** from Decimal's analysis. Under **Fields**, click **Issue fields**, then **Add field** to fill in more, like priority, labels, or your own custom fields. For each field, choose where its value comes from under **Filled from**:

* **Decimal picks it**: describe under **How Decimal picks** when each value applies, using what's in the ticket
* A ticket or account field, the ticket title, description, state, number, or assignee
* **Fixed value**: the same value every time

**Values only a person sets** lists values Decimal should never pick on its own, with a **Default value** to use instead. **When Decimal can't pick** sets a fallback source. Decimal fills fields in list order. For labels, choose whether to add the label **Always** or **When Decimal picks it**.

## Duplicates

Under **Duplicates**, set how strict matching is and what happens on a match.

**Duplicate criteria** is **Conservative** by default. Choose **Aggressive** to merge more tickets into existing issues, or edit the **Prompt** to describe what counts as the same problem in your own words, which switches it to **Custom**. In Jira, **Must match** limits duplicates to issues with the same value in fields you pick, like the same customer or product area.

**On a match**:

| Option | Does |
| - | - |
| **Comment on the issue** (default) | Adds the ticket's details and the affected customer to the existing issue |
| **Create a subtask** | Files the ticket as a subtask under the existing issue. Jira only |
| **Note on the ticket only** | Leaves the issue as is |

Every match also adds a note to the helpdesk ticket, like "Already tracked by existing Linear: PLAT-398."

## On the ticket

In [Inbox](https://docs.decimal.app/support/ticket.md), an escalated ticket shows **View Jira ticket** or **View Linear ticket** in its menu. A duplicate shows **Escalation deduplicated** on the timeline, with the issue it matched and why.

If the agent got it wrong, an admin can override it from the timeline. Enter an **Override reason** and click **Override** to file a new issue anyway. To start over, choose **Clear escalation status** from the ticket's menu.

## Hold tickets missing information

For Intercom, the agent can also check each ticket against what engineering needs before it's filed, and send it back to support with a note listing what's missing. Set it up with Decimal: contact [support@getdecimal.ai](mailto:support@getdecimal.ai).

When it's on, held tickets show **Escalation held for more info** on the timeline. An admin can enter an **Escalation reason** and click **Force escalation** to file it anyway.

## See how it's going

In [Analytics](https://docs.decimal.app/usage.md), **Jira and Linear escalations** shows how many tickets were filed and what happened to the rest: **Filed right away**, **Filed after more info**, **Duplicate, not filed**, **Needs more info**, and **Not actionable**.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.