Changes between Version 20 and Version 21 of WorkflowNotificationPlugin


Ignore:
Timestamp:
Jun 6, 2016, 12:28:08 PM (8 years ago)
Author:
ak
Comment:

old_values is renamed to old_ticket

Legend:

Unmodified
Added
Removed
Modified
  • WorkflowNotificationPlugin

    v20 v21  
    112112
    113113{{{#!ini
    114 owner_changed.condition = ${old_values.owner != ticket.owner}
     114owner_changed.condition = ${old_ticket.owner != ticket.owner}
    115115}}}
    116116
     
    160160=== Accessing old ticket values
    161161
    162 The ticket's old values are available in the notification templates. These values are provided in a Python dict named `old_values`. The values provided are from before any changes were made to the ticket, whether by workflow operations or by direct user action.
     162The ticket's old values are available in the notification templates. These values are provided in a Python dict named `old_ticket`. The values provided are from before any changes were made to the ticket, whether by workflow operations or by direct user action.
    163163
    164164You can use this dictionary to set up a notification similar to Trac's built in ticket change email, for example: