sphinx-tribes
sphinx-tribes copied to clipboard
Trigger Notifications During Ticket Assignment
Description:
Modify the function responsible for assigning tickets to users so that it triggers a notification by calling the sendNotification function. This ensures users are notified immediately when a ticket is assigned to them.
Acceptance Criteria:
1. Update the Ticket Assignment Function
- Integrate the
sendNotificationfunction call into the ticket assignment logic. - Parameters to be passed to
sendNotification:pubkey: The public key of the user to whom the ticket is assigned.event: The event type, e.g.,ticket_assigned.content: A message indicating the ticket assignment, e.g.,"You have been assigned a new ticket: {ticket_title}.".
This ticket depends on this
@humansinstitute Please assign me?
@humansinstitute please assign me