Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trigger Notifications During Ticket Assignment #2392

Open
tobi-bams opened this issue Jan 10, 2025 · 2 comments
Open

Trigger Notifications During Ticket Assignment #2392

tobi-bams opened this issue Jan 10, 2025 · 2 comments
Labels

Comments

@tobi-bams
Copy link
Contributor

tobi-bams commented Jan 10, 2025

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

@aliraza556
Copy link
Contributor

@humansinstitute Please assign me?

@MahtabBukhari
Copy link
Contributor

@humansinstitute please assign me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants