Closed IkkiOcean closed 2 days ago
Thank you for creating this issue! 🎉 We'll look into it as soon as possible. In the meantime, please make sure to provide all the necessary details and context. If you have any questions or additional information, feel free to add them here. Your contributions are highly appreciated! 😊
You can also check our CONTRIBUTING.md for guidelines on contributing to this project.
Hello @IkkiOcean! Your issue #963 has been closed. Thank you for your contribution!
Description:
We need to implement a support ticket system to allow users to create, manage, and track support tickets. This will involve the following:
Tasks:
Schema Design:
Ticket
schema with fields liketicketId
,userId
,subject
,description
,status
(open, in-progress, resolved),priority
,assignedAgentId
,createdAt
, andupdatedAt
.Controller:
TicketController
: Logic to create new tickets, fetch ticket details, update ticket status, assign agents, and manage ticket resolution.Middleware:
Routes:
/api/tickets
: To create a new support ticket./api/tickets/:ticketId
: To fetch details of a specific ticket./api/tickets/:ticketId/status
: To update the status of a ticket./api/tickets/:ticketId/assign
: To assign a ticket to a support agent.Expected Outcome: