feat(tickets): capture Type / Category / Assignee / Due Date at create (MAPPS-296) #318
No reviewers
Labels
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
psa-systems/mokosh-apps!318
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/MAPPS-296-richer-ticket-create"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The New Ticket form was thin - Title, Description, Company, Contact, Priority, Asset only - so a dispatcher creating a ticket had to immediately open it and follow up with an edit to set the four fields the QA report flagged: Type, Category, Assignee, Due Date. Capture all four at creation:
/tickets/typesand/tickets/categories(tenant-scoped lookups the server already exposes). Each falls back to "(none)" when the fetch is empty or the user has no permission to read the lookups./auth/users(the same endpoint the dispatch board already uses) and defaults to "Unassigned".DateFieldthat stamps the server'sscheduled_endat 23:59 UTC on the chosen day - "due by end of day" matches the intuitive read of "Due Date" on a service-desk ticket, and SLA + dispatch already consumescheduled_end.Each field is optional; empty signal sends
nulland the server applies its default. Layout matches the existing pair-by-pairsm:grid-cols-2shape so a wide viewport gets 2-up and mobile stacks. SLA and Contract pickers are the remaining roadmap fields the ticket called out; both need their own lookup endpoints (/slais paginated,/contractsrequires theRequireFinancerole just for read) so are parked as follow-ups under this ticket.#MAPPS-296