diff --git a/static/app/types/group.tsx b/static/app/types/group.tsx index a76a20789035fd..a4eb85bb685297 100644 --- a/static/app/types/group.tsx +++ b/static/app/types/group.tsx @@ -642,6 +642,7 @@ export interface GroupActivityCreateIssue extends GroupActivityBase { location: string; provider: string; title: string; + new?: boolean; }; type: GroupActivityType.CREATE_ISSUE; } diff --git a/static/app/views/issueDetails/groupActivityItem.tsx b/static/app/views/issueDetails/groupActivityItem.tsx index 0b874e7ed346e5..2c4b9d83e38d20 100644 --- a/static/app/views/issueDetails/groupActivityItem.tsx +++ b/static/app/views/issueDetails/groupActivityItem.tsx @@ -474,6 +474,13 @@ function GroupActivityItem({ } case GroupActivityType.CREATE_ISSUE: { const {data} = activity; + if (data.new === true) { + return tct('[author] linked this issue to [issue] on [provider]', { + author, + issue: {data.title}, + provider: data.provider, + }); + } return tct('[author] created an issue on [provider] titled [title]', { author, provider: data.provider, diff --git a/static/app/views/issueDetails/streamline/sidebar/groupActivityItem.tsx b/static/app/views/issueDetails/streamline/sidebar/groupActivityItem.tsx index a33b875909eb0e..d1a0613eef782d 100644 --- a/static/app/views/issueDetails/streamline/sidebar/groupActivityItem.tsx +++ b/static/app/views/issueDetails/streamline/sidebar/groupActivityItem.tsx @@ -493,8 +493,13 @@ export default function getGroupActivityItem( } case GroupActivityType.CREATE_ISSUE: { const {data} = activity; + let title = t('Created Issue'); + if (data.new === true) { + title = t('Linked Issue'); + } + return { - title: t('Created Issue'), + title: title, message: tct('by [author] on [provider] titled [title]', { author, provider: data.provider,