Skip to content

Trigger Notifications During Ticket Assignment #2392

Description

@tobi-bams

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions