Commit 969f5865 authored by lpsolit%gmail.com's avatar lpsolit%gmail.com

Bug 311913: Add support for X-Bugzilla-Keywords and X-Bugzilla-Severity to email…

Bug 311913: Add support for X-Bugzilla-Keywords and X-Bugzilla-Severity to email notifications - Patch by Mark Loeser <halcy0n@gentoo.org> r=LpSolit a=justdave
parent e59214c4
...@@ -584,6 +584,8 @@ sub sendMail { ...@@ -584,6 +584,8 @@ sub sendMail {
} }
$substs{"product"} = $values{'product'}; $substs{"product"} = $values{'product'};
$substs{"component"} = $values{'component'}; $substs{"component"} = $values{'component'};
$substs{"keywords"} = $values{'keywords'};
$substs{"severity"} = $values{'bug_severity'};
$substs{"summary"} = $values{'short_desc'}; $substs{"summary"} = $values{'short_desc'};
$substs{"reasonsheader"} = join(" ", map { $rel_names{$_} } @$relRef); $substs{"reasonsheader"} = join(" ", map { $rel_names{$_} } @$relRef);
$substs{"reasonsbody"} = $reasonsbody; $substs{"reasonsbody"} = $reasonsbody;
......
...@@ -89,6 +89,8 @@ Subject: [Bug %bugid%] %neworchanged%%summary% ...@@ -89,6 +89,8 @@ Subject: [Bug %bugid%] %neworchanged%%summary%
X-Bugzilla-Reason: %reasonsheader% X-Bugzilla-Reason: %reasonsheader%
X-Bugzilla-Product: %product% X-Bugzilla-Product: %product%
X-Bugzilla-Component: %component% X-Bugzilla-Component: %component%
X-Bugzilla-Keywords: %keywords%
X-Bugzilla-Severity: %severity%
%urlbase%show_bug.cgi?id=%bugid% %urlbase%show_bug.cgi?id=%bugid%
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment