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
Add form endpoint to api v3 work packages path
Oliver Günther75512ac9f2ca
diff --git a/frontend/src/app/core/apiv3/endpoints/work_packages/api-v3-work-package-paths.ts b/frontend/src/app/core/apiv3/endpoints/work_packages/api-v3-work-package-paths.tsindex 276d1106c5d..f2961a3f426 100644--- a/frontend/src/app/core/apiv3/endpoints/work_packages/api-v3-work-package-paths.ts+++ b/frontend/src/app/core/apiv3/endpoints/work_packages/api-v3-work-package-paths.ts@@ -31,6 +31,7 @@ import { ApiV3RelationsPaths } from 'core-app/core/apiv3/endpoints/relations/apiimport { ApiV3Resource } from 'core-app/core/apiv3/cache/cachable-apiv3-resource';import { ApiV3WorkPackagesPaths } from 'core-app/core/apiv3/endpoints/work_packages/api-v3-work-packages-paths';import { StateCacheService } from 'core-app/core/apiv3/cache/state-cache.service';+import { ApiV3WorkPackageForm } from 'core-app/core/apiv3/endpoints/work_packages/apiv3-work-package-form';export class ApiV3WorkPackagePaths extends ApiV3Resource<WorkPackageResource> {// /api/v3/(?:projectPath)/work_packages/(:workPackageId)/relations@@ -51,6 +52,9 @@ export class ApiV3WorkPackagePaths extends ApiV3Resource<WorkPackageResource> {// /api/v3/(?:projectPath)/work_packages/(:workPackageId)/github_pull_requestspublic readonly github_pull_requests = this.subResource('github_pull_requests');+ // /api/v3/(projects/:projectIdentifier)/work_packages/(:workPackageId)/form+ public readonly form:ApiV3WorkPackageForm = this.subResource('form', ApiV3WorkPackageForm);+protected createCache():StateCacheService<WorkPackageResource> {return (this.parent as ApiV3WorkPackagesPaths).cache;}