Opened 16 years ago
Closed 15 years ago
#8224 closed enhancement (duplicate)
Use Different subject lines for email notifications
Reported by: | Owned by: | Emmanuel Blot | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | notification | Version: | none |
Severity: | normal | Keywords: | email notification subject workflow needinfo |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
It would be great if different subject lines were used for email notifications based on the transition type. For example if you get a lot of notifications it would be great certain ones stand out—mainly the ones that are notifying you that a ticket has just been assigned to you. I've used other ticket tracking systems that did this and it really helped as I was able to create rules in my email to direct the notifications to different folders.
For example use these prefixes to the notification subject line:
[TRACname] #2290 Owner Changed: summary
[TRACname] #2290 New Ticket: summary
[TRACname] #2290 Ticket Closed: summary
You may also want to add the ability to have a email prefix you can set in the workflow ini file for user defined transitions.
Attachments (0)
Change History (7)
comment:1 by , 16 years ago
comment:2 by , 16 years ago
I wasn't aware of the ticket_subject_template. That certainly helps! Thanks!!! I added ticket.owner to ours.
My idea may still be useful so you can tell the difference between the ticket being assigned to you and someone just updating the ticket. But it isn't urgent.
Or do you know of a way to do that with the ticket_subject_template. I got the database schema from http://trac.edgewall.org/wiki/TracDev/DatabaseSchema, I'm guessing it is not current because I don't see anything on the new workflow functionality, but I don't see anything like the transition name in the database schema that could be used.
comment:3 by , 15 years ago
Keywords: | workflow needinfo added |
---|
Can't you access the ticket._old values in the ticket_subject_template? With that and the current status value, it might be possible to achieve the desired result.
comment:4 by , 15 years ago
That is getting closer, but the subject line is getting pretty long.
For example my ticket subjet template is currently:
$prefix #$ticket.id Owner-$ticket.owner Status-$ticket.status: $summary
An example subject line:
[AWIPS] #2404 Owner-kchrisma Status-assigned: Hydro Station List Search Does Not Draw Red Rectangle
It would still be nice if you could set (an optional) different subject template in the workflow section of the trac.ini file.
comment:5 by , 15 years ago
follow-up: 7 comment:6 by , 15 years ago
Well that's pretty much the point of this ticket (enhancment request). Being able to set a nice short ticket_subject_template on each workflow state would be very nice to allow for newly assigned tickets to standout without doing any email filtering. As I said in the description a different ticket system I've used in the past had different subject lines and we really liked it. A common problem on our project is that people don't notice when tickets are assigned to them because they get so many emails from trac. But its just a suggestion. Adding fields to the template kind of gets me there but to me its not ideal.
comment:7 by , 15 years ago
Resolution: | → duplicate |
---|---|
Status: | new → closed |
Is there anything you need to do here that couldn't be accomplished through the ticket_subject_template option?