summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2005-10-15 08:14:31 +0200
committerlpsolit%gmail.com <>2005-10-15 08:14:31 +0200
commit969f586517c4021e784a4a4d09d7421fc90a1016 (patch)
tree7c4e1dd83dec9d4299f3a2daeb431b6d06228831
parente59214c4ed109f9afd6999f0392399729158d1c9 (diff)
downloadbugzilla-969f586517c4021e784a4a4d09d7421fc90a1016.tar.gz
bugzilla-969f586517c4021e784a4a4d09d7421fc90a1016.tar.xz
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
-rw-r--r--Bugzilla/BugMail.pm2
-rw-r--r--Bugzilla/Config/MTA.pm2
2 files changed, 4 insertions, 0 deletions
diff --git a/Bugzilla/BugMail.pm b/Bugzilla/BugMail.pm
index f1a47a3a3..6c2f8591c 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 25f70761b..61569e2d3 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%