Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

create journal when enabling/disabling life cycle steps

Ivan Kuchin5c58a7e65f5c
diff --git a/app/controllers/projects/settings/life_cycle_steps_controller.rb b/app/controllers/projects/settings/life_cycle_steps_controller.rb
index c28a3b12ab9..60810b54dbd 100644
--- a/app/controllers/projects/settings/life_cycle_steps_controller.rb
+++ b/app/controllers/projects/settings/life_cycle_steps_controller.rb
@@ -77,5 +77,7 @@ class Projects::Settings::LifeCycleStepsController < Projects::SettingsControlle
end,
unique_by: %i[project_id definition_id]
)
+
+ @project.save_journals
end
end