Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

fix: ticket url in the emails (#58833)

Alex V3cc52998aaeb
diff --git a/posthog/tasks/email.py b/posthog/tasks/email.py
index da98ae7ebde7..888002dec44d 100644
--- a/posthog/tasks/email.py
+++ b/posthog/tasks/email.py
@@ -1566,7 +1566,7 @@ def send_new_ticket_notification(ticket_id: str, team_id: int, first_message_con
customer_name = traits.get("name")
customer_email = traits.get("email")
- ticket_url = f"{settings.SITE_URL}/project/{team.pk}/conversations/tickets/{ticket.id}"
+ ticket_url = f"{settings.SITE_URL}/project/{team.pk}/support/tickets/{ticket.ticket_number}"
campaign_key = f"new_conversation_ticket_{ticket.id}"
message = EmailMessage(