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

fixup! [#47064] Support custom_field_* in the attributesByTimestamp

Dombi Attila48f19a23d7ae
diff --git a/lib/api/v3/work_packages/eager_loading/historic_attributes.rb b/lib/api/v3/work_packages/eager_loading/historic_attributes.rb
index 741c9905dc9..fa69281a1b4 100644
--- a/lib/api/v3/work_packages/eager_loading/historic_attributes.rb
+++ b/lib/api/v3/work_packages/eager_loading/historic_attributes.rb
@@ -105,7 +105,7 @@ module API::V3::WorkPackages::EagerLoading
end
def override_attributes(work_package, source)
- work_package.attributes = source.attributes.except('timestamp')
+ work_package.attributes = source.attributes.except('timestamp', 'journal_id')
work_package.clear_changes_information
work_package.readonly!
end