현재 이메일 형식은 다음과 같습니다 –
ID,심각도,우선순위,Plt,담당자,상태,해결책,요약
나에게 필요한 것은 다음과 같습니다 -
ID, 제품, 구성요소, 담당자, 상태, 솔루션, 요약
내 버그질라 버전은 4.2.4입니다.
다음 파일을 편집했지만 아무 소용이 없습니다.
/var/www/bugzilla/whine.pl
# Execute the saved query
my @searchfields = qw(
bug_id
product
component
assigned_to
bug_status
resolution
short_desc
);
/var/www/bugzilla/template/en/default/whine/mail.txt.tmpl
[% FOREACH bug=query.bugs %]
[% terms.Bug +%] [%+ bug.bug_id %]:
[%+ urlbase %]show_bug.cgi?id=[% bug.bug_id +%]
Product: [%+ display_value("product", bug.product) -%]
Component: [%+ display_value("component", bug.component) -%]
Assignee: [%+ bug.assigned_to %]
Status: [%+ display_value("bug_status", bug.bug_status) %]
[%- IF bug.resolution -%] Resolution: [% display_value("resolution", bug.resolution) -%]
[%- END %]
Summary: [% bug.short_desc %]
[% END %]
[% END %]
/var/www/bugzilla/template/en/default/whine/mail.html.tmpl
[% FOREACH query=queries %]
<h2>[%+ query.title FILTER html %]</h2>
<table width="100%">
<tr>
<th align="left">ID</th>
<th align="left">Product</th>
<th align="left">Component</th>
<th align="left">Assignee</th>
<th align="left">Status</th>
<th align="left">Resolution</th>
<th align="left">Summary</th>
</tr>
[% FOREACH bug=query.bugs %]
<tr>
<td align="left"><a href="[%+ urlbase FILTER html %]show_bug.cgi?id=
[%- bug.bug_id %]">[% bug.bug_id %]</a></td>
<td align="left">[% display_value("product", bug.bug_product) FILTER html %]</td>
<td align="left">[% display_value("component", bug.component) FILTER html %]</td>
<td align="left">[% bug.assigned_to FILTER html %]</td>
<td align="left">[% display_value("bug_status", bug.bug_status) FILTER html %]</td>
<td align="left">[% display_value("resolution", bug.resolution) FILTER html %]</td>
<td align="left">[% bug.short_desc FILTER html %]</td>
</tr>
[% END %]
</table>
[% END %]