Modify ↓
Opened 12 years ago
Closed 5 years ago
#11018 closed defect (wontfix)
Modified field labels do not effect notification emails
Reported by: | Owned by: | Ryan J Ollos | |
---|---|---|---|
Priority: | normal | Component: | BlackMagicTicketTweaksPlugin |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 1.0 |
Description (last modified by )
It is possible to get around this with a custom email template, but it'd be a nice feature. From creating a custom template, you might want to look into modifying the ticket_props
object.
Here's my workaround:
{% with pv = [(a[0].strip(), a[1].strip()) for a in [b.split(':') for b in [c.strip() for c in ticket_props.replace('|', '\n').splitlines()[1:-1]] if ':' in b]]; # Added this line pv = [('Category', p[1]) if p[0] == 'Component' else p for p in pv]; sel = ['Reporter', 'Owner', 'Status', 'Category', 'Severity', 'Resolution'] %}\ ${'\n'.join('%s\t%s' % (format(p[0]+':', ' <12'), p[1]) for p in pv if p[0] in sel)} {% end %}\
Attachments (0)
Change History (3)
comment:1 Changed 12 years ago by
Description: | modified (diff) |
---|---|
Owner: | changed from obs to Ryan J Ollos |
comment:2 Changed 12 years ago by
comment:3 Changed 5 years ago by
Resolution: | → wontfix |
---|---|
Status: | new → closed |
This plugin is deprecated in Trac 1.4 and later. See migration tips on BlackMagicTicketTweaksPlugin page.
Note: See
TracTickets for help on using
tickets.
See also #8145.