|
|
|
@ -74,6 +74,10 @@ module API |
|
|
|
|
"#{root}/categories/#{id}" |
|
|
|
|
end |
|
|
|
|
|
|
|
|
|
def self.create_work_package_form(project_id) |
|
|
|
|
"#{project(project_id)}/work_packages/form" |
|
|
|
|
end |
|
|
|
|
|
|
|
|
|
def self.priorities |
|
|
|
|
"#{root}/priorities" |
|
|
|
|
end |
|
|
|
@ -200,6 +204,10 @@ module API |
|
|
|
|
"#{work_package(id)}/watchers" |
|
|
|
|
end |
|
|
|
|
|
|
|
|
|
def self.work_packages_by_project(project_id) |
|
|
|
|
"#{project(project_id)}/work_packages" |
|
|
|
|
end |
|
|
|
|
|
|
|
|
|
def self.root_path |
|
|
|
|
@@root_path ||= Class.new.tap do |c| |
|
|
|
|
c.extend(::API::V3::Utilities::PathHelper) |
|
|
|
|