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

Add `work_package_role` path helpers

Aaron Contreras46161d6a1c19
diff --git a/lib/api/v3/utilities/path_helper.rb b/lib/api/v3/utilities/path_helper.rb
index 9ae2c6f9ed3..6bdd3256a03 100644
--- a/lib/api/v3/utilities/path_helper.rb
+++ b/lib/api/v3/utilities/path_helper.rb
@@ -406,6 +406,9 @@ module API
index :global_role, 'roles'
show :global_role, 'role'
+ index :work_package_role, 'roles'
+ show :work_package_role, 'roles'
+
def self.show_revision(project_id, identifier)
show_revision_project_repository_path(project_id, identifier)
end