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
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
use ProjectCustomField.find_by
as-opbb8634bac90b
diff --git a/app/models/work_package/exports/macros/attributes.rb b/app/models/work_package/exports/macros/attributes.rbindex eb48c6be863..a2867942c59 100644--- a/app/models/work_package/exports/macros/attributes.rb+++ b/app/models/work_package/exports/macros/attributes.rb@@ -129,7 +129,7 @@ module WorkPackage::Exportsenddef self.resolve_value_project(project, attribute)- cf = CustomField.find_by(name: attribute, type: "ProjectCustomField")+ cf = ProjectCustomField.find_by(name: attribute)if cf.nil?ar_name = ::API::Utilities::PropertyNameConverter.to_ar_name(attribute.to_sym, context: project)else