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
clear cache in schema whenevr sth in backlog settings changed
Behrokh Satarnejad1a5212cc9342
diff --git a/lib/api/v3/work_packages/schema/work_package_schema_representer.rb b/lib/api/v3/work_packages/schema/work_package_schema_representer.rbindex 31afb296b69..d0b6d08d149 100644--- a/lib/api/v3/work_packages/schema/work_package_schema_representer.rb+++ b/lib/api/v3/work_packages/schema/work_package_schema_representer.rb@@ -39,7 +39,7 @@ module APIinclude API::Caching::CachedRepresentercached_representer key_parts: %i[project type],dependencies: -> {- all_permissions_granted_to_user_under_project + [Setting.work_package_done_ratio]+ all_permissions_granted_to_user_under_project + [Setting.work_package_done_ratio, Setting.plugin_openproject_backlogs]}custom_field_injector type: :schema_representer