sphinx-tribes icon indicating copy to clipboard operation
sphinx-tribes copied to clipboard

Trigger Notifications During Ticket Assignment

Open tobi-bams opened this issue 11 months ago • 2 comments

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 sendNotification function 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

tobi-bams avatar Jan 10 '25 21:01 tobi-bams

@humansinstitute Please assign me?

aliraza556 avatar Jan 10 '25 22:01 aliraza556

@humansinstitute please assign me

MahtabBukhari avatar Jan 10 '25 23:01 MahtabBukhari