Changes between Version 2 and Version 3 of WorkflowNotificationPlugin
- Timestamp:
- Dec 10, 2012, 4:05:42 AM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
WorkflowNotificationPlugin
v2 v3 13 13 more workflow operations, so (for example) separate emails can be sent 14 14 out when a ticket is accepted, reassigned, resolved, reopened, or 15 marked "in QA".15 marked "in QA". 16 16 17 17 Each email notification's subject, body, and recipients are fully … … 84 84 [ticket-workflow-notifications] 85 85 notify_reporter_when_accepted = accept 86 notify_reporter_when_accepted.body = Hi $ticket.reporter, '$ticket.summary' has been accepted by $change.author. Its status is now $ticket.status.\n\n{% if change.comment %}$change.author said:\n\n$change.comment{% end %}-----\nTicket URL: $link\n$project.name <${project.url or abs_href()}>\n$project.descr86 notify_reporter_when_accepted.body = Hi $ticket.reporter, '$ticket.summary' has been accepted by $change.author. Its status is now $ticket.status.\n\n{% if change.comment %}$change.author said:\n\n$change.comment{% end %}-----\nTicket URL: $link\n$project.name <${project.url or abs_href()}>\n$project.descr 87 87 notify_reporter_when_accepted.recipients = $ticket.reporter, trac-admin@hostname.com, trac_user 88 88 notify_reporter_when_accepted.subject = '$ticket.summary' is now accepted … … 92 92 `notify_reporter_when_accepted` rule. The value in this line defines 93 93 one or more workflow actions that will trigger this notification: in 94 this case, the notification will be triggered when the "accept"action94 this case, the notification will be triggered when the "accept" action 95 95 occurs for any ticket. (This action is defined by the default 96 96 configuration of Trac's built in ticket workflow engine; however, any … … 107 107 workflow action; in the above examples, both the 108 108 `notify_owner_changed` and the `notify_reported_when_accepted` rules 109 will be triggered when the "accept"action occurs.109 will be triggered when the "accept" action occurs. 110 110 111 111 The following lines define the email subject, body, and recipients for … … 132 132 133 133 Most notifications are configured to refer to one or more workflow actions, 134 lik e "accept", "leave", "reassign", "resolve", etc.134 lik eaccept, leave, reassign, resolve, etc. 135 135 136 136 You can also configure notifications to be triggered when a ticket is … … 163 163 A workflow action always occurs when a ticket is changed, even if the user 164 164 doesn't explicitly select a workflow action! In the standard Trac configuration, 165 the default action is "leave". So you could set up a notification like so:165 the default action is "leave". So you could set up a notification like so: 166 166 167 167 {{{