Changes between Initial Version and Version 1 of Ticket #10495, comment 5
- Timestamp:
- Sep 9, 2015, 7:17:45 PM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #10495, comment 5
initial v1 2 2 > The original values of changed ticket fields can be found in the `_old` attribute of the ticket object, a `dict` keyed by the field names. I don't know why it has been marked "protected" (the leading `_`), as it's quite useful in some situations. Maybe we should promote it to public, or provide a public interface to its values. 3 3 4 I'm trying to include the old status in my ticket_subject_template. How exactly would I do it? $ticket._old['status']doesn't seem to do the trick.4 I'm trying to include the old status in my ticket_subject_template. How exactly would I do it? `$ticket._old['status']` doesn't seem to do the trick.