computed custom field plugin

Added by ashraf alzyoud 11 months ago

im use this formula to calculate the total cfs2 type float
if tracker_id==88
project.issues.includes(:custom_values).where(tracker_id:88).to_a.sum {|issue|issue.custom_field_value(144).to_f}
end
the problem not calcualte it first time and need resave
how i can calualte it in first time