Ticket #1359 (closed enhancement: duplicate)
Add ticket change email headers to allow more intelligent filtering of ticket notification emails
| Reported by: | chris@… | Owned by: | eblot |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | notification | Version: | 0.8.1 |
| Severity: | normal | Keywords: | email headers needinfo |
| Cc: | chris@…, jan@… |
Description
Basically, Trac sends (if configured properly) emails to the users each time a ticket is modified. In my case, I wanted to filter the tickets a bit, to identify tikets being closed or assigned to me.
Unfortunately, if your mail goes to an IMAP server without server filters, most email clients can't filter on the contents of the body, where the specific field changes are enumerated. Plus that would be, well, ugly.
This change adds additional X-Trac email headers each time a ticket is changed.
These headers are of the format:
X-Trac-Ticket-Change-<field>
with the new value of the field as the header value.
This allows for easy client side filtering, nd handles the case when multiple changes are made in one submission (you get multiple headers in the email, 1 per field)
Thanks for watching!


