Changes between Version 2 and Version 3 of WorkflowNotificationPlugin


Ignore:
Timestamp:
Dec 10, 2012, 4:05:42 AM (11 years ago)
Author:
ejucovy
Comment:

fixing html quoting

Legend:

Unmodified
Added
Removed
Modified
  • WorkflowNotificationPlugin

    v2 v3  
    1313more workflow operations, so (for example) separate emails can be sent
    1414out when a ticket is accepted, reassigned, resolved, reopened, or
    15 marked "in QA".
     15marked "in QA".
    1616
    1717Each email notification's subject, body, and recipients are fully
     
    8484[ticket-workflow-notifications]
    8585notify_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.descr
     86notify_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
    8787notify_reporter_when_accepted.recipients = $ticket.reporter, trac-admin@hostname.com, trac_user
    8888notify_reporter_when_accepted.subject = '$ticket.summary' is now accepted
     
    9292`notify_reporter_when_accepted` rule. The value in this line defines
    9393one or more workflow actions that will trigger this notification: in
    94 this case, the notification will be triggered when the &#34;accept&#34; action
     94this case, the notification will be triggered when the "accept" action
    9595occurs for any ticket.  (This action is defined by the default
    9696configuration of Trac's built in ticket workflow engine; however, any
     
    107107workflow action; in the above examples, both the
    108108`notify_owner_changed` and the `notify_reported_when_accepted` rules
    109 will be triggered when the &#34;accept&#34; action occurs.
     109will be triggered when the "accept" action occurs.
    110110
    111111The following lines define the email subject, body, and recipients for
     
    132132
    133133Most notifications are configured to refer to one or more workflow actions,
    134 like &#34;accept&#34;, &#34;leave&#34;, &#34;reassign&#34;, &#34;resolve&#34;, etc.
     134lik eaccept, leave, reassign, resolve, etc.
    135135
    136136You can also configure notifications to be triggered when a ticket is
     
    163163A workflow action always occurs when a ticket is changed, even if the user
    164164doesn't explicitly select a workflow action!  In the standard Trac configuration,
    165 the default action is &#34;leave&#34;.  So you could set up a notification like so:
     165the default action is "leave".  So you could set up a notification like so:
    166166
    167167{{{