Is there any way to get a list of all the ticket status values and labels (for agent and customers) included custom statuses? I need the values so I can use them to filter API queries of tickets.
I figured this out.
- I used /api/v2/admin/ticket_fields to get the id for the status
- With the status id, I used /api/v2/admin/ticket_fields/[status_id] to get the status object
- The status object has a choices collection which contained exactly what I needed.