When replying to an email where the article is marked "invisible for customer"(internal) then I would expect that the checkbox "Visible to customer" is not set and I have to set it manually. This works for a note and I remember this also worked previously at least in OTRS 5.
In AgentTicketActionCommon.pm I found this:
Code: Select all
# set customer visibility of this note to the same value as the article for whom this is the reply
if ( $Self->{ReplyToArticle} && !defined $Param{IsVisibleForCustomer} ) {
$Param{IsVisibleForCustomer} = $Self->{ReplyToArticleContent}->{IsVisibleForCustomer};
}
elsif ( !defined $Param{IsVisibleForCustomer} ) {
$Param{IsVisibleForCustomer} = $Config->{IsVisibleForCustomerDefault};
}
What do I need to do to (re)enable this for replies?