Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Bugzilla - Include Product name in sent emails

Tags:

bugzilla

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 users for bugs. I would like it to appears similar to this:

Product [Bug ##] description

Thanks.

like image 699
myiagros Avatar asked Feb 20 '26 07:02

myiagros


2 Answers

Edit template/en/default/email/newchangedmail.txt.

like image 161
Max Kanat-Alexander Avatar answered Feb 27 '26 08:02

Max Kanat-Alexander


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.

like image 21
Uphill_ What '1 Avatar answered Feb 27 '26 10:02

Uphill_ What '1



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!