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

[#59765] disable hierarchy cfs from custom actions

Eric Schubert05eec2067d82
diff --git a/app/models/custom_actions/actions/custom_field.rb b/app/models/custom_actions/actions/custom_field.rb
index c1b0a82eba8..2406a08cb22 100644
--- a/app/models/custom_actions/actions/custom_field.rb
+++ b/app/models/custom_actions/actions/custom_field.rb
@@ -49,6 +49,7 @@ class CustomActions::Actions::CustomField < CustomActions::Actions::Base
def self.all
WorkPackageCustomField
+ .where.not(field_format: %w(hierarchy))
.order(:name)
.map do |cf|
create_subclass(cf)