Ticket statuses: When the client replies can move a ticket to another status, a Client responded one say, on the built-in statuses as well as your own, falling back to Open when that status is switched off and cleared when it is deleted; a status can count as the first response when an agent moves a ticket nobody has answered into it, quietly or after emailing the contact and watchers a ticket assigned message kept as a public note, counted only when someone got it; the message is set under Messages to clients in Settings Tickets with the canned response placeholders; database 3.7.3 adds ticket_status_reply_status_id, ticket_status_first_response and config_ticket_assigned_message; 26.11.9 changelog entries

This commit is contained in:
johnnyq
2026-11-17 17:52:35 -05:00
parent 0cc24e286e
commit 96eec95fb8
15 changed files with 317 additions and 33 deletions

View File

@@ -113,6 +113,8 @@ if (!empty($ticket_id) && !empty($reply)) {
if ($reply_ticket_status !== $original_ticket_status && $reply_ticket_status != 4) {
$new_status_name = escapeSql(getTicketStatusName($reply_ticket_status));
logTicketHistory($ticket_id, "Status set to $new_status_name via the API ($api_key_name)");
// A status that counts as the first response (functions/ticket_status.php)
ticketStatusMovedByAgent($ticket_id, $original_ticket_status, $reply_ticket_status);
}
// Resolve the ticket, if it is actually moving into Resolved