Changes between Version 8 and Version 9 of WorkflowNotificationPlugin


Ignore:
Timestamp:
Dec 12, 2012, 4:36:26 PM (2 years ago)
Author:
ejucovy
Comment:

syntax highlighting

Legend:

Unmodified
Added
Removed
Modified
  • WorkflowNotificationPlugin

    v8 v9  
    4040Enable its components in trac.ini:
    4141{{{
     42#!ini
    4243[components]
    4344workflow_notification.* = enabled
     
    4748workflow providers; for example:
    4849{{{
     50#!ini
    4951[ticket]
    5052workflow = ConfigurableTicketWorkflow, TicketWorkflowNotifier
     
    8284sent out for a ticket.  Here is an example:
    8385{{{
     86#!ini
    8487[ticket-workflow-notifications]
    8588notify_reporter_when_accepted = accept
     
    109112actions, using a comma separated list of workflow actions:
    110113{{{
     114#!ini
    111115notify_owner_changed = accept, reassign
    112116}}}
     
    134138email address:
    135139{{{
     140#!ini
    136141notify_reporter_when_accepted.recipients = $ticket.reporter, trac-admin@hostname.com, trac_user
    137142}}}
     
    151156
    152157{{{
     158#!ini
    153159[ticket-workflow-notifications]
    154160when_fixed = resolve
     
    162168
    163169{{{
     170#!ini
    164171magic_word.condition = ${'notifyme' in change.comment and change.author != ticket.reporter}
    165172}}}
    166173
    167174{{{
     175#!ini
    168176owner_changed.condition = ${old_values.owner != ticket.owner}
    169177}}}
     
    179187
    180188{{{
     189#!ini
    181190[ticket-workflow-notifications]
    182191new_ticket = @created
     
    193202
    194203{{{
     204#!ini
    195205[ticket-workflow-notifications]
    196206ticket_changed = *
     
    203213creation, just specify both:
    204214{{{
     215#!ini
    205216[ticket-workflow-notifications]
    206217ticket_changed = *, @created
     
    214225
    215226{{{
     227#!ini
    216228same_status = leave
    217229same_status.body = View the ticket here: $link
     
    230242built in ticket change email; for example:
    231243{{{
     244#!ini
    232245[ticket-workflow-notifications]
    233246ticket_changed = *