diff --git a/app/controllers/api/v2/planning_elements_controller.rb b/app/controllers/api/v2/planning_elements_controller.rb index f07a19896a..decac76b9e 100644 --- a/app/controllers/api/v2/planning_elements_controller.rb +++ b/app/controllers/api/v2/planning_elements_controller.rb @@ -91,7 +91,9 @@ module Api def update @planning_element = WorkPackage.find(params[:id]) - @planning_element.attributes = permitted_params.planning_element + @planning_element.attributes = permitted_params.planning_element.except :note + + @planning_element.add_journal(User.current, permitted_params.planning_element[:note]) successfully_updated = @planning_element.save