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 hasReadonlyStatus to documentation

Oliver Günther556d5d41d30c
diff --git a/docs/api/apiv3/components/schemas/file_link_read_model.yml b/docs/api/apiv3/components/schemas/file_link_read_model.yml
index 7cb5f55e006..4c849a373ce 100644
--- a/docs/api/apiv3/components/schemas/file_link_read_model.yml
+++ b/docs/api/apiv3/components/schemas/file_link_read_model.yml
@@ -169,6 +169,7 @@ example:
raw: Develop super cool OpenProject API.
html: "<p>Develop super cool OpenProject API.</p>"
scheduleManually: false
+ hasReadonlyStatus: false
startDate:
dueDate:
createdAt: '2014-08-29T12:40:53Z'
diff --git a/docs/api/apiv3/components/schemas/work_package_model.yml b/docs/api/apiv3/components/schemas/work_package_model.yml
index 3393766098c..6525139dbfe 100644
--- a/docs/api/apiv3/components/schemas/work_package_model.yml
+++ b/docs/api/apiv3/components/schemas/work_package_model.yml
@@ -29,6 +29,9 @@ properties:
scheduleManually:
type: boolean
description: If false (default) schedule automatically.
+ hasReadonlyStatus:
+ type: boolean
+ description: If true, the associated status is readonly. Only the status can be edited in this case.
startDate:
type: string
format: date
@@ -556,6 +559,7 @@ example:
raw: Develop super cool OpenProject API.
html: "<p>Develop super cool OpenProject API.</p>"
scheduleManually: false
+ hasReadonlyStatus: false
startDate:
dueDate:
derivedStartDate:
diff --git a/docs/api/apiv3/paths/work_package.yml b/docs/api/apiv3/paths/work_package.yml
index ecf446b9892..cbab6504ce4 100644
--- a/docs/api/apiv3/paths/work_package.yml
+++ b/docs/api/apiv3/paths/work_package.yml
@@ -203,6 +203,7 @@ get:
id: 1528
percentageDone: 0
scheduleManually: false
+ hasReadonlyStatus: false
startDate:
subject: Develop API
updatedAt: '2014-08-29T12:44:41Z'
@@ -388,6 +389,7 @@ patch:
id: 1528
percentageDone: 0
scheduleManually: false
+ hasReadonlyStatus: false
startDate:
subject: Develop API
updatedAt: '2014-08-29T12:44:41Z'
diff --git a/docs/api/apiv3/paths/work_packages.yml b/docs/api/apiv3/paths/work_packages.yml
index 3f74a3d8167..8bc066a3e9d 100644
--- a/docs/api/apiv3/paths/work_packages.yml
+++ b/docs/api/apiv3/paths/work_packages.yml
@@ -312,6 +312,7 @@ post:
id: 1528
percentageDone: 0
scheduleManually: false
+ hasReadonlyStatus: false
startDate:
subject: Develop API
updatedAt: '2014-08-29T12:44:41Z'
diff --git a/docs/api/apiv3/tags/work_packages.yml b/docs/api/apiv3/tags/work_packages.yml
index fca900ed6a4..4f6848bf351 100644
--- a/docs/api/apiv3/tags/work_packages.yml
+++ b/docs/api/apiv3/tags/work_packages.yml
@@ -52,6 +52,7 @@ description: |-
| type | Name of the work package's type | String | not null | READ | |
| description | The work package description | Formattable | | READ / WRITE | |
| scheduleManually | If false (default) schedule automatically. | Boolean | | READ / WRITE | |
+ | hasReadonlyStatus | If true, the associated status is readonly. Only the status can be edited in this case. | Boolean | | READ | Enterprise edition only |
| startDate | Scheduled beginning of a work package | Date | Cannot be set for parent work packages; must be equal or greater than the earliest possible start date; Exists only on work packages of a non milestone type | READ / WRITE | |
| dueDate | Scheduled end of a work package | Date | Cannot be set for parent work packages; must be greater than or equal to the start date; Exists only on work packages of a non milestone type | READ / WRITE | |
| date | Date on which a milestone is achieved | Date | Exists only on work packages of a milestone type | READ / WRITE | |