Reechdesk

TicketStatus

Look up and display the current status of a support ticket by ticket number.

Demo — Ticket Status Badges
OPENIN PROGRESSPENDINGESCALATEDRESOLVEDCLOSED

Usage

app/page.tsxtsx
import { TicketStatus } from '@reechdesk/sdk';

// With a known ticket number
<TicketStatus ticketNumber="TKT-001" />

// With search input (user enters ticket number)
<TicketStatus />

Props

PropTypeDescription
ticketNumberstringThe ticket number to look up (e.g., "TKT-001"). If omitted, shows an input field.

Status Values

StatusColorDescription
OPENOPENNew ticket awaiting assignment
IN_PROGRESSIN PROGRESSAgent is actively working on it
PENDINGPENDINGWaiting for customer response
ESCALATEDESCALATEDEscalated to senior support
RESOLVEDRESOLVEDIssue resolved, awaiting confirmation
CLOSEDCLOSEDTicket is archived

Requires HelpdeskProvider

The TicketStatus component uses the provider's apiUrl and entityId to fetch ticket data.