There were several requests on how to update custom field values in subtasks, when we change parent task attributes online (ie without running a rake task).
Here is how:
add these lines to app/controllers/issue_controller.rb
after_action :update_children, :only => [:update]
...
def update_children
@issue.descendants.each do |i|
i.base_reload
i.save!
end
end
There were several requests on how to update custom field values in subtasks, when we change parent task attributes online (ie without running a rake task).
Here is how: add these lines to app/controllers/issue_controller.rb
after_action :update_children, :only => [:update] ... def update_children @issue.descendants.each do |i| i.base_reload i.save! end end