Closed ashrafalzyoud closed 2 years ago
I'd suspect this line. Very probably custom_field_value(1).to_f.round
is not a number 1..100. There is a validation that % Done must be in range 1..100. Your code must respect it.
@issue.update_columns(done_ratio: custom_field_value(1).to_f.round ) unless new_record?
maybe, you can stash them in _beforedestroy for a later usage in _afterdestroy.
in my case i have Four level sub task Tracker(1) --> tracker(2)-->Tracker(3)-->Tracker(4) subtasks im config setting
im do this configuration
the msg error give to me % Done is not included in the list i need in tracker (2 +3+4) after system calauted the DONE * (i)