Project

General

Profile

Actions

Defect #16990

closed

Email notification

Added by Gabor Balazs about 9 years ago. Updated about 9 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 #1

Updated by Toshi MARUYAMA about 9 years ago

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

Please use forum for questions.

Actions

Also available in: Atom PDF