Skip to content

Add notification trigger on ticket assignment - #2803

Open
GautamKumarOffical wants to merge 1 commit into
stakwork:masterfrom
GautamKumarOffical:feature/ticket-assignment-notifications
Open

Add notification trigger on ticket assignment#2803
GautamKumarOffical wants to merge 1 commit into
stakwork:masterfrom
GautamKumarOffical:feature/ticket-assignment-notifications

Conversation

@GautamKumarOffical

Copy link
Copy Markdown

Changes

  • Added Assignee field to Tickets struct to track assignment
  • Integrated processNotification call into the ticket assignment logic in UpdateTicket
  • Notification triggers via v2 bot with event type ticket_assigned
  • Only sends notification when the assignee actually changes (avoids duplicate notifications)
  • Added unit tests for ticket assignment notification scenarios

Fixes #2392

- add Assignee field to Tickets struct
- send notification via v2 bot when ticket is assigned to a user
- notification only triggers when assignee changes (avoids duplicate notifications)
- add unit tests for ticket assignment notification

Signed-off-by: Gautam Kumar <gautamkumarofficial@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Trigger Notifications During Ticket Assignment

1 participant