From: lpsolit%gmail.com <> Date: Sat, 15 Oct 2005 06:14:31 +0000 (+0000) Subject: Bug 311913: Add support for X-Bugzilla-Keywords and X-Bugzilla-Severity to email... X-Git-Tag: bugzilla-2.22rc1~221 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=969f586517c4021e784a4a4d09d7421fc90a1016;p=thirdparty%2Fbugzilla.git Bug 311913: Add support for X-Bugzilla-Keywords and X-Bugzilla-Severity to email notifications - Patch by Mark Loeser r=LpSolit a=justdave --- diff --git a/Bugzilla/BugMail.pm b/Bugzilla/BugMail.pm index f1a47a3a33..6c2f8591c2 100644 --- a/Bugzilla/BugMail.pm +++ b/Bugzilla/BugMail.pm @@ -584,6 +584,8 @@ sub sendMail { } $substs{"product"} = $values{'product'}; $substs{"component"} = $values{'component'}; + $substs{"keywords"} = $values{'keywords'}; + $substs{"severity"} = $values{'bug_severity'}; $substs{"summary"} = $values{'short_desc'}; $substs{"reasonsheader"} = join(" ", map { $rel_names{$_} } @$relRef); $substs{"reasonsbody"} = $reasonsbody; diff --git a/Bugzilla/Config/MTA.pm b/Bugzilla/Config/MTA.pm index 25f70761ba..61569e2d3e 100644 --- a/Bugzilla/Config/MTA.pm +++ b/Bugzilla/Config/MTA.pm @@ -89,6 +89,8 @@ Subject: [Bug %bugid%] %neworchanged%%summary% X-Bugzilla-Reason: %reasonsheader% X-Bugzilla-Product: %product% X-Bugzilla-Component: %component% +X-Bugzilla-Keywords: %keywords% +X-Bugzilla-Severity: %severity% %urlbase%show_bug.cgi?id=%bugid%