Bugzilla - Include Product name in sent emails
I am very new to Bugzilla, especially when it comes to configuring it. I am looking for a way to include the Product name in emails that are sent to user开发者_如何学Pythons for bugs. I would like it to appears similar to this:
Product [Bug ##] description
Thanks.
Edit template/en/default/email/newchangedmail.txt.
For Bugzilla 5.x check your options here. If you choose to go with the second option, then create directory
template/en/custom
copy template from
template/en/default/email/bugmail-header.txt.tmpl
to
template/en/custom/email/bugmail-header.txt.tmpl
and modify the later from something like
Subject: [[% terms.Bug %] [%+ bug.id %]] [% 'New: ' IF show_new %][%+ bug.short_desc %]
to something like
Subject: [[% terms.Bug %] [%+ bug.id %]] [[% bug.product %]] [% 'New: ' IF show_new %][%+ bug.short_desc %]
The [[% bug.product %]]
is the change and it is the actual product.
After editing templates you should run checksetup.pl.
精彩评论