Require fields before a ticket is solved or closed

Make sure a ticket is complete before it is closed out. For example, require a Category or a Resolution on every ticket an agent solves, so your reports never count tickets with those fields empty.

Managers, admins and the owner can mark fields. The rule applies to agents. Requesters and automations are not held up by it (see below).

Mark a field as required to solve

  1. Click the waffle icon in the upper right and select Account administration
  2. Navigate to Tickets > Forms & fields and open the form
  3. Open the fields tab and click the field
  4. Turn on Required to solve a ticket
  5. Click save

The Edit Ticket Form Field window for a Category dropdown, with Required to solve a ticket turned on and its help text: Agents cannot set a ticket to Solved or Closed while this field is empty.

The field then carries a required to solve tag in the form's list of fields.

The Category field in the form's field list, with a green required to solve tag under its label.

You can mark any custom field, and the Resolution, Type, Due date, Scheduled date and Asset fields. The other system fields always have a value. The setting is separate from This field is required, which applies to the person filing the ticket.

A field counts as filled in when it has a value: a checkbox must be ticked, and a dropdown must hold one of its options. Asset needs at least one linked asset. A field with a default value usually has one already, so clear the default under Options if agents should choose.

A field asks for nothing when it is disabled on the form, or when a form rule hides it from staff.

What agents see

When an agent sets a ticket to Solved or Closed while one of these fields is empty, a window opens with only the missing fields: Fill in before solving (or Fill in before closing). The agent fills them in and clicks Save & solve (or Save & close). The values and the new status are saved together. cancel leaves the ticket as it was.

update & solve in the reply box asks first, too. If the agent cancels, the reply is not sent and stays in the reply box.

  • Bulk status changes: tickets with a missing field are left as they are, reply included, and a notice lists them and the fields to fill in. The other tickets are changed.
  • New tickets: an agent who creates a ticket as Solved or Closed is asked to fill the fields in first.
  • Tickets already solved: moving a ticket from Solved to Closed never asks, so tickets solved before you marked a field are not held up.

Who is not held up

Requesters closing their own tickets, Mojo bots (triggers), the automatic closing of solved tickets, ticket merges, tickets created by email and ticket form schedulers can still solve or close a ticket with these fields empty. When a bot or a requester does, the ticket's history says which fields were left empty.

API

Through API v2 and v3, a solve or close that is missing a field is refused with status 422, the code fields_required_to_resolve and a missing_fields list naming each field by the key an update takes it under (for example custom_field_category). GET /api/v3/tickets/:id/fields_required_to_resolve tells you which fields are missing without changing the ticket.

Related