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.

feat(conversations): use canonical slack permalink for support ticket links (#60113)

posthog[bot]65833ecf61cf
diff --git a/products/conversations/frontend/scenes/ticket/SupportTicketScene.tsx b/products/conversations/frontend/scenes/ticket/SupportTicketScene.tsx
index 070192dcc71e..467d9bf5fe1c 100644
--- a/products/conversations/frontend/scenes/ticket/SupportTicketScene.tsx
+++ b/products/conversations/frontend/scenes/ticket/SupportTicketScene.tsx
@@ -266,13 +266,12 @@ export function SupportTicketScene({ ticketId }: { ticketId: string }): JSX.Elem
</div>
)}
{ticket?.channel_source === 'slack' &&
- ticket?.slack_team_id &&
ticket?.slack_channel_id &&
ticket?.slack_thread_ts && (
<div className="flex justify-between items-center">
<span className="text-muted-alt">Slack thread</span>
<Link
- to={`https://app.slack.com/client/${ticket.slack_team_id}/${ticket.slack_channel_id}/thread/${ticket.slack_channel_id}-${ticket.slack_thread_ts.replace('.', '')}`}
+ to={`https://app.slack.com/archives/${ticket.slack_channel_id}/p${ticket.slack_thread_ts.replace('.', '')}`}
target="_blank"
className="text-xs"
>