Project

General

Profile

Actions

Defect #16990

closed

Email notification

Added by Gabor Balazs over 10 years ago. Updated over 10 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Email notifications
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Invalid
Affected version:

Description

Hi,

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 c.custom_field.name > </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?

Thanks

Actions

Also available in: Atom PDF