{tct('[author] [action] this issue to [assignee]', {
action: isAutoAssigned ? t('auto-assigned') : t('assigned'),
author,
assignee,
})}
{data.integration && (
{t('Assigned via %s', integrationName[data.integration])}
{data.rule && (
: {data.rule}
)}
)}
);
}
function renderContent() {
switch (activity.type) {
case GroupActivityType.NOTE:
return tct('[author] left a comment', {author});
case GroupActivityType.SET_RESOLVED:
return tct('[author] marked this issue as resolved', {author});
case GroupActivityType.SET_RESOLVED_BY_AGE:
return tct('[author] marked this issue as resolved due to inactivity', {
author,
});
case GroupActivityType.SET_RESOLVED_IN_RELEASE:
const {current_release_version, version} = activity.data;
if (current_release_version) {
return tct(
'[author] marked this issue as resolved in releases greater than [version]',
{
author,
version: (