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 setting for Calculation of % Complete hierarchy totals

Aaron Contreras291b87b78c95
diff --git a/config/constants/settings/definition.rb b/config/constants/settings/definition.rb
index 1f403b76cae..e2bf418d966 100644
--- a/config/constants/settings/definition.rb
+++ b/config/constants/settings/definition.rb
@@ -231,6 +231,11 @@ module Settings
default: nil,
writable: false
},
+ total_percent_complete_mode: {
+ description: "Mode in which the total % Complete for work packages in a hierarchy is calculated",
+ default: "work_weighted_average",
+ allowed: %w[work_weighted_average simple_average]
+ },
commit_fix_keywords: {
description: "Keywords to look for in commit for fixing work packages",
default: "fixes,closes"