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.
1 Like
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.
5 Likes
Hi @adam_steckel,
Welcome to our developer community!
Thank you for adding the right solution so that others could benefit from it.