Changes between Version 1 and Version 2 of ViewingAllSupportTickets
- Timestamp:
- 01/22/26 04:14:55 (15 hours ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ViewingAllSupportTickets
v1 v2 3 3 ==== Actors: **Administrator (ADMIN)** 4 4 5 **1.** The admin selects All Tickets.5 **1.** Accessing the Support Ticket Overview. 6 6 7 **2.** The system returns all tickets ordered by creation time.7 **2.** Retrieving All Support Tickets. 8 8 9 9 10 10 {{{#!sql 11 SELECT ticket_id, subject, status, created_at 12 FROM support_ticket 13 ORDER BY created_at DESC; 11 SELECT t.ticket_id, 12 ue.first_name || ' ' || ue.last_name AS user, 13 t.subject, t.status, t.created_at 14 FROM support_ticket t 15 JOIN users u ON t.user_id = u.id 16 JOIN user_entity ue ON ue.id = u.id 17 ORDER BY t.created_at DESC; 18 19 }}} 14 20 15 21 22 **3.** Updating the Ticket Status. 23 24 25 {{{#!sql 26 UPDATE support_ticket 27 SET status = 'RESOLVED' 28 WHERE ticket_id = :ticketId; 29 16 30 }}}
