Set Up a Ticket Queue
Setting up ticketing has two halves. A System Admin creates the ticketing connection once (skip this for the Ema Ticketing Desk, which needs no connection), and then a group admin binds each group to a queue and writes its routing guidance.
Before you start
- Ticketing is available on all plans, including free trial Workspaces. Trial Workspaces can stand up a queue on their personal group using the built-in Ema Ticketing Desk, which needs no connection. ServiceNow queues are not available on trial Workspaces: creating the shared ticketing connection a ServiceNow queue requires is an integrations write that trial Workspaces cannot perform.
- User groups must be enabled. Without user groups there is nothing to own a queue, and ticketing refuses to work rather than falling back to a Workspace-wide list.
- The group exists and you are a group admin on it, or a System Admin.
- For a ServiceNow queue: an instance you can reach, and a service account on it. See ServiceNow-Backed Queues for the roles that account needs.
Step 1: create a ticketing connection
Skip this step if you are using the Ema Ticketing Desk, which needs no connection.
Ticketing connections live on their own tab so they are never mixed up with the credentials your AI Employees use for Tools.
- Go to Integrations in admin settings and open the Ticketing tab. It lists one section per approved ticketing backend, with the connections already created for it.
- Add a connection on the backend you want, and fill in its details. For ServiceNow that is the instance URL (
https://<instance>.service-now.com, no trailing slash) and the service account's username and password. Credentials are stored encrypted and are used to read and write tickets for every queue bound to this connection. - Save. Ema connects, then prepares the instance for ticketing and reports anything it could not do as a warning on the connection.
Ticketing connections are shared, by design. A connection created here is Workspace-level: one service account, used by every queue bound to it. It is also the only kind a queue may bind, so a personal or Tool-purpose credential for the same app will not appear in the queue picker. The same app's general-purpose credentials stay on its integration detail page.
If you see "Tag endpoint not detected". The connection works, but Ema could not find the endpoint it uses to label tickets with their queue, so tickets may be created and then not appear in the queue that owns them. Either connect with an account that can write system tables, or have an instance admin install the endpoint and paste its base path into the warning. See ServiceNow-Backed Queues.
Step 2: give the group a queue
Two ways in, both ending at the same queue configuration.
When you create the group. The group form has a This group has a ticket queue toggle. Turn it on if real people work requests in this group, choose the ticketing system, and describe what should route there.
On an existing group. Open the group, go to its Settings tab, and find the Ticketing queue card. It holds everything about the queue: the system and connection it runs on, and its routing guidance. Both fields save together.
The card is visible only to group admins and System Admins. A member never sees it, since repointing a queue is not something they can act on.
Choose the system
| Option | What it means |
|---|---|
| Ema Ticketing Desk | Ema is the system of record. Tickets, comments, and history live in Ema, there is no connection to pick, and the card shows Tickets live in Ema. Available on all plans including free trial. Preselected unless your Workspace already has a ServiceNow ticketing connection. |
| ServiceNow | A pass-through to your instance. Pick the ticketing connection it should run on. Not available on trial Workspaces: the shared ticketing connection it requires is a Workspace-level connection template that trial Workspaces cannot create. Preselected when a ServiceNow ticketing connection already exists. |
| Jira | Binds Ema to one Jira project. Requires the ITSM Assist add-on: without it the project picker returns 403 FEATURE_NOT_ENABLED. The bind maps exactly one project key to the group; supplying more than one, or none, returns a 422. See the Jira queue notes below. |
The queue takes the group's name, and that name also fixes the reserved queue label Ema stamps on every ticket. The label never changes afterwards, so two groups cannot run queues under the same name: renaming the group first is the way out of that conflict.
Write the routing guidance
What should route to this group? is the field that decides what Autopilot escalates here. It is free text, up to 2000 characters, and Autopilot receives it verbatim every time it reads the queue directory, so treat it as standing instruction for the queue rather than a description of the team.
Cover, in plain language:
- The kinds of request that belong here, and any that clearly do not.
- How to set priority, for example high priority for outages or leadership asks.
- Any labels or request types the group expects on incoming tickets.
The app asks for guidance whenever you set up a queue, and rejects an empty value: without it Ema has nothing to route on. Editing it later replaces the whole value rather than appending, so read the current text before you rewrite it.
Open-intake queues
By default every queue is open to intake: any workspace member may raise a ticket into it as themselves, and then follow, reply to (public comments only), and edit the title and description of that one ticket. Autopilot also lists open-intake queues to everyone so it can route into them.
A group admin can close intake for a queue that must not accept walk-ins. Use PATCH /groups/{groupID}/queue/intake:
{ "intake_open": false }
The field is required: omitting it returns a 422 rather than defaulting to false. The same endpoint re-opens a queue by sending true.
The caller must be a Workspace admin or an effective admin of the group. Non-admins and non-members receive a 403, and a missing queue returns a 404.
What open intake changes:
- Any workspace member (excluding visitors and accounts with no role) may create a ticket in the queue, filed as themselves. They cannot set an assignee or raise the ticket as someone else.
- The queue appears in
GET /queuesfor non-members withaccess: requester(name, tag, and routing guidance only). Members seeaccess: memberand the full queue view. - The requester can read their own ticket, post public comments, and edit the ticket's title and description. They cannot list the queue, read other tickets, assign, change status, close, move, delete, or post internal notes.
What open intake does not change: membership rules for every other queue operation remain exactly as before.
System-provisioned setup queues are never offered to walk-in requesters, regardless of the intake_open flag. Archived-group queues are also excluded from the requester listing.
Filter controls the queue toolbar offers
The toolbar above a queue's ticket list shows only the filter controls the queue's backend can genuinely run. Each queue declares its supported filters (filterable_by) automatically, based on its backend and field map. The declaration is enforced: sending a filter the backend did not declare returns a 422.
The possible filter keys are:
| Key | What it filters | Backends that declare it |
|---|---|---|
status | Ticket status (OPEN, IN_PROGRESS, HOLD, CLOSED). Accepts multiple values. | All |
priority | Canonical priority label, matched case-insensitively. Accepts multiple values. Omitted when the queue's field map defines no priority mapping. | All (when priority is mapped) |
assignee | Assignee email address. | All |
requester | Requester email address. | All |
search | Case-insensitive substring over ticket title and description. | All |
created_range | Created-date range (after/before bounds). | All |
age | Tickets open at least N days. Sent as age_days and folded into a created_before bound before any backend is called. | All |
tags | Tags the ticket must carry, ANDed: a ticket must have every tag listed. The plural form of the single-tag filter. | Ema Ticketing Desk |
exclude_tags | Tags to exclude: a ticket carrying any of them is dropped. Untagged tickets are kept. | Ema Ticketing Desk |
structure | The ticket's place in the parent/child tree: top_level, sub_ticket, or has_children. | Ema Ticketing Desk |
comment_search | Case-insensitive substring over comment bodies, separate from the title/description search. | Ema Ticketing Desk |
The tags, exclude_tags, structure, and comment_search controls appear only on Ema Ticketing Desk queues. A ServiceNow queue's toolbar omits them because the ServiceNow backend cannot run those filters. A filter control missing from a queue's toolbar means the backend did not declare it, not that the control is broken.
Step 3: check it works
Open the group's Tickets tab and raise one ticket with New ticket. A successful create is the real test of a ServiceNow queue: it exercises the credentials, the queue label, and the request-type list in one go.
The Tickets tab refreshes automatically every 30 seconds, so new tickets and status changes appear without a manual reload. On a Jira queue this also covers Ema's replies and state changes as they land.
The Group Tickets tab and My Tickets view are visible to all members of the group, including on trial Workspaces.
Jira-backed queues
A Jira queue requires the ITSM Assist add-on (itsm_assist flag). Both itsm_assist and ex_ticketing must be on for the background jobs to run; with either flag off, Ema reads nothing from Jira and processes no tickets.
Setting up a Jira-backed queue
- On the Ticketing queue card, click Change and select Jira.
- Pick the Jira connection (created in step 1) and select exactly one project. A project already mapped to another group is shown as taken and cannot be picked; the server returns a 409 if you attempt it.
- Select the orchestrator AI Employee that will answer incoming tickets. The orchestrator picker requires
itsm_assistto be on. - Save. Ema binds the group to the project. New tickets in that project are pulled every 20 seconds and processed by the linked orchestrator.
Exactly one project per queue. The bind requires exactly one project_key. Sending zero or more than one returns a 422.
How Ema processes Jira tickets
Once a Jira queue is set up and linked to an orchestrator:
- New tickets in the mapped project are pulled on a 20-second interval and routed to the group.
- Ema resolves the ticket requester through the CMDB (not Okta). If the CMDB knows exactly one person by the reporter's email, their CMDB person ID is stored as the requester. Zero or multiple matches leave the requester unresolved; the ticket is still routed and answered.
- Ema posts a first reply as a public comment, using the linked orchestrator, running as the admin who connected Jira.
- Ema responds to follow-up comments that mention it (using an Atlassian Document Format
mentionnode targeting the connected account). When the ticket is assigned to the connected account, Ema answers every new human comment, not only mentions. App account comments never trigger a reply. - When Ema cannot answer, it posts one hand-off notice to the requester: "Ema couldn't resolve this automatically. It stays with the IT team." The notice is posted once per ticket regardless of how many hand-offs occur.
- Configuration gaps (no orchestrator linked, write-back off, flags off) skip the ticket silently with no notice.
- At most 10 Ema replies per ticket. The 10th triggers a hand-off with the notice.
Changing a Jira queue from group settings
You can change a Jira queue's connection, project, or system directly from the Ticketing queue card on the group's Settings tab, without going through the group creation wizard.
- Change the project. Click Change, confirm the connection, and pick the new project. Only one project may be selected; the save button stays disabled until exactly one is chosen.
- Change the connection. Click Change and pick a different Jira connection. Changing the connection resets the project selection.
- Switch to another system. Click Change and select Ema Ticketing Desk or ServiceNow. The group's Jira project mapping is cleared and the pull stops routing into it.
What happens to existing records when you change the project or system. When a bind drops a project (because you picked a different one, switched to another system, or disconnected), Ema automatically settles the group's records on that project: any ticket in routed, waiting_requester, handed_off, or skipped state becomes skipped with the reason "the project is no longer mapped to this group", and no further replies are posted on those tickets. A turn already in flight finishes posting its reply, then the record is settled on its next touch. Ema's own tickets (ema_created) are not affected.
A project already mapped to another group cannot be picked. If you attempt to save with a taken project, the card shows the conflict error (the same message the wizard shows) rather than a generic save failure.
Changing the queue later
Everything on the card can be changed by a group admin:
- Repoint the connection. Pick another connection in the picker and save. Use this when an instance is retired or a connection was deleted.
- Change the system. Change reopens the system picker. Existing tickets stay where they are: switching a queue from ServiceNow to the Ema desk does not migrate the tickets already in ServiceNow, it changes where new work is filed and read.
- Change the Jira project. On a Jira queue, click Change, confirm the connection, and pick the new project. Records on the dropped project are automatically settled (see above).
- Edit the routing guidance at any time. It takes effect on the next escalation.
- Open or close intake. Use
PATCH /groups/{groupID}/queue/intakewith{"intake_open": true}or{"intake_open": false}. Requires group admin or Workspace admin access.
Reading the queue's state
| What you see | What it means | What to do |
|---|---|---|
| Connected or Active | The queue has a system and a working connection. | Nothing. |
| Needs attention or Not connected | The connection behind the queue is unhealthy or missing. | Repoint the queue at a working connection, or fix the connection on the Integrations page. |
| "This group has no ticket queue" | The group exists but was never bound. | Set up queue, then follow step 2. |
| "Ticketing isn't connected for your tenant" | Your Workspace has no ticketing connection at all. | An admin completes step 1. |
| "Ticketing connection disconnected" | The connection was disconnected or is unreachable, so tickets cannot be loaded. | Reconnect, or bind the queue to another connection. |
| "You can't use this queue's ticketing connection" | The connection is restricted to a group you are not in, or the action is not enabled on it. | Join that group, or have an admin assign a connection everyone in this queue can use. |
| "Couldn't reach ticketing" | The ticketing service did not respond. Nothing was lost. | Retry. |
A queue outlives its group. Archiving or deleting a group does not delete its tickets. They stay readable to the people who can already see them, and the group shows as deleted in ticket lists and filters. Restoring the group brings the queue back into normal use.
What's next
- Work a Ticket Queue for what the group does with the queue once it exists.
- ServiceNow-Backed Queues for instance prerequisites, field mapping, and connect warnings.
- Ticket Tools for how Autopilot uses routing guidance to pick a queue.