Closed Bug 800509 Opened 9 years ago Closed 9 years ago

Add an X-Bugzilla-Resolution header in bugmail

Categories

(Bugzilla :: Email Notifications, enhancement)

enhancement
Not set
normal

Tracking

()

VERIFIED FIXED
Bugzilla 5.0

People

(Reporter: tonymec, Assigned: dkl)

Details

Attachments

(2 files)

Currently, bugmail (at least from bugzilla.mozilla.org and bugzilla.novell.com, which are the ones I use most) includes an X-Bugzilla-Status header but no X-Bugzilla-Resolution header. This makes it hard to create mail filters to handle bugmail messages differently if the bug will never be fixed (INVALID, WONTFIX etc.) and if it is already fixed (FIXED, WORKSFORME etc.) (DUPLICATE can of course mean anything in this context depending on the Status/Resolution of the dupe target bug.)

If there were an X-Bugzilla-Resolution header, it would make this kind of filtering much easier. Another use of such a header would be to make X-Bugzilla-Status and X-Bugzilla-Resolution visible in the "normal" header section of the mail display window via SeaMonkey's about:config or Thunderbird's Config Editor (or the equivalent capability for any other mailers that have it). (N.B. The Bugmail 2.0 extension is currently not working in my SeaMonkey 2.16a1 so I'm looking for alternatives, built-in if possible.)
snapshot showing the non-working bugmail extension and my workaround. No "Resolution" available.
Assignee: email-notifications → dkl
Status: NEW → ASSIGNED
Attachment #674789 - Flags: review?(LpSolit)
Comment on attachment 674789 [details] [diff] [review]
Patch to add resolution to email header (v1)

r=LpSolit
Attachment #674789 - Flags: review?(LpSolit) → review+
(we don't use all these ux- keywords in the Bugzilla product)
Flags: approval+
Target Milestone: --- → Bugzilla 5.0
Committing to: bzr+ssh://dlawrence%40mozilla.com@bzr.mozilla.org/bugzilla/trunk\
modified template/en/default/email/bugmail-header.txt.tmpl
Committed revision 8446.
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
I just got an email from bugzilla-daemon@moz where the X-BugZilla-Resolution header was present. I also got a more recent email with no such header on a "New" bug (where the Resolution is ----). => VERIFIED at version 4.0.8+ as installed at bugzilla.mozilla.org
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.