History in Email

Added by Indradri Basu over 5 years ago

How to add all history contents in email notifications ? Is it possible ?

The idea is to include all non-private comments in addition to the regular format when a notification is sent. We are using Redmine version 3.2.

Thanks much
IB

Replies (2)

RE: History in Email - Added by Indradri Basu over 5 years ago

Indradri Basu wrote:

How to add all history contents in email notifications ? Is it possible ?

The idea is to include all non-private comments in addition to the regular format when a notification is sent. We are using Redmine version 3.2.

Thanks much
IB

I have tried adding the below code in _issue.html.erb but it didn't worked. What am I missing ?

    <% if @journal_details.any? %>
    <ul class="details">
      <% details_to_strings(@journal_details).each do |string| %>
       <li><%= string %></li>
      <% end %>
    </ul>
    <% end %>

Any help would be appreciated.

Thanks

RE: History in Email - Added by Jérôme BATAILLE over 5 years ago

Hi,

is @journal_details prepared by the controller ?

(1-2/2)