annikoff/redmine_plugin_computed_custom_field

How to get previous and new value of the variable

Warlib1975 opened this issue · 2 comments

Hi,

I would like to increment computed custom field with type in if new status is differ than previous one.
E.g. I can get new status using self.status_id, but how to get previous value of the status to compare with?

Thank you.

Hi. status_id_was

Thank you. It works perfectly.