Can someone please help me in putting the component in the report
mail?
Thanks,
Rogier
I dont know how to get this mail, so I can't try it out but: all
parameters are shown with for example [%+ bug.priority %], so try
change [% bug.component %] to [%+ bug.component %]...
I would be more helpful but as I said: I can't get theese mail sry :-)
May tage a look in whine.pl there is an function "sub run_queries {"
and there is
my @searchfields = (
'bugs.bug_id',
'bugs.bug_severity',
'bugs.priority',
'bugs.rep_platform',
'bugs.assigned_to',
'bugs.bug_status',
'bugs.resolution',
'bugs.short_desc',
'map_assigned_to.login_name',
);
may you have to add 'bugs.component', then you can use it !?
- Kent
Thank's adding 'component' to the searchfields in whine.pl worked.
After I did that i can use [% bug.component %] in the mail template.
Rogier
I added <th align="left">Component</th> in the whine\mail.html.tmpl.
I also added <td align="left">[% bug.component FILTER html %]</td> in the
whine\mail.html.tmpl.
However, when I receive my whine emails, all I see is the Component header.
I'm missing something and not exactly sure. Thank you in advance for your
assistance.
--
View this message in context: http://old.nabble.com/bugzilla-whine-email.txt.tmpl-tp26495595p26819626.html
Sent from the Bugzilla - Users mailing list archive at Nabble.com.
I added 'bugs.component_id' to my @searchfields in the whine.pl.
I added <th align="left">Component</th> in the whine\mail.html.tmpl.
I also added <td align="left">[% bug.component_id FILTER html %]</td> in
the whine\mail.html.tmpl.
However, when I receive my whine emails, all I see is the Component header &
Component ID. I'm missing the mapping piece to the component name. Can
someone assist me with what is needed?
--
View this message in context: http://old.nabble.com/bugzilla-whine-email.txt.tmpl-tp26495595p26820045.html
Yes, you need to do the mapping with 'map_components.name' in Bugzilla/Search.pm. Add that to the search parameters in whine.pl and then reference it as bug.map_components.name. Use map_assigned_to.login_name, which is already in the stock whine scripts, as an example.