Defect #16990

Email notification

Added by Gabor Balazs almost 8 years ago. Updated almost 8 years ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:-% Done:


Category:Email notifications
Target version:-
Resolution:Invalid Affected version:



Please help me about email notification. My _issue.html.erb content is the following:

<li> <b> <%=l(:field_description)%> </b>: <%=h issue.description >
<li> <b> <
=l(:field_status)%> </b>: <%=h issue.status ></li>
<li> <b> <
=l(:field_start_date)%> </b>: <%=h issue.start_date ></li>
<li> <b> <
=l(:field_priority)%> </b>: <%=h issue.priority ></li>
issue.custom_field_values.each do |c| >
<li> <b> <
=h > </b>: <=h show_value(c) ></li>
end %>

How can I add only concrete custom fields into the email notification? Now I get notification with every custom field, but I would like to control based on the custom field ID. So if one of the ID is 22, how should look the code?



#1 Updated by Toshi MARUYAMA almost 8 years ago

  • Status changed from New to Closed
  • Resolution set to Invalid

Please use forum for questions.

Also available in: Atom PDF