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

describe ignoreNonWorkingDays in API spec

ulferts61bd9e454bdb
diff --git a/docs/api/apiv3/components/schemas/work_package_model.yml b/docs/api/apiv3/components/schemas/work_package_model.yml
index 3393766098c..2a967f8220a 100644
--- a/docs/api/apiv3/components/schemas/work_package_model.yml
+++ b/docs/api/apiv3/components/schemas/work_package_model.yml
@@ -45,14 +45,14 @@ properties:
type: string
format: date
description: Similar to start date but is not set by a client but rather deduced
- by the work packages's descendants. If manual scheduleManually is active, the
+ by the work packages' descendants. If manual scheduleManually is active, the
two dates can deviate.
readOnly: true
derivedDueDate:
type: string
format: date
description: Similar to due date but is not set by a client but rather deduced
- by the work packages's descendants. If manual scheduleManually is active, the
+ by the work packages' descendants. If manual scheduleManually is active, the
two dates can deviate.
readOnly: true
duration:
@@ -71,6 +71,13 @@ properties:
format: duration
description: Time a work package likely needs to be completed including its descendants
readOnly: true
+ ignoreNonWorkingDays:
+ type: boolean
+ description: |-
+ **(NOT IMPLEMENTED)** When scheduling, whether or not to ignore the non working days being defined.
+ A work package with the flag set to true will be allowed to be scheduled to a non working day.
+ Not available for milestone type of work packages.
+ readOnly: true
spentTime:
type: string
format: duration
diff --git a/docs/api/apiv3/tags/work_packages.yml b/docs/api/apiv3/tags/work_packages.yml
index fca900ed6a4..53d703f033b 100644
--- a/docs/api/apiv3/tags/work_packages.yml
+++ b/docs/api/apiv3/tags/work_packages.yml
@@ -44,25 +44,27 @@ description: |-
## Local Properties
- | Property | Description | Type | Constraints | Supported operations | Condition |
- | :--------------: | ------------------------------------------------------ | ----------- | ------------------------------------------------------------------------------------------------------ | -------------------- | -------------------------------- |
- | id | Work package id | Integer | x > 0 | READ | |
- | lockVersion | The version of the item as used for optimistic locking | Integer | | READ | |
- | subject | Work package subject | String | not null; 1 <= length <= 255 | READ / WRITE | |
- | 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 | |
- | 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 | |
- | derivedStartDate | Similar to start date but is not set by a client but rather deduced by the work packages's descendants. If manual scheduleManually is active, the two dates can deviate. | Date | | READ | |
- | derivedDueDate | Similar to due date but is not set by a client but rather deduced by the work packages's descendants. If manual scheduleManually is active, the two dates can deviate. | Date | | READ | |
- | estimatedTime | Time a work package likely needs to be completed excluding its descendants | Duration | | READ / WRITE | |
- | derivedEstimatedTime | Time a work package likely needs to be completed including its descendants | Duration | | READ | |
- | spentTime | The time booked for this work package by users working on it | Duration | | READ | **Permission** view time entries |
- | percentageDone | Amount of total completion for a work package | Integer | 0 <= x <= 100; Cannot be set for parent work packages | READ / WRITE | |
- | createdAt | Time of creation | DateTime | | READ | |
- | updatedAt | Time of the most recent change to the work package | DateTime | | READ | |
+ | Property | Description | Type | Constraints | Supported operations | Condition |
+ | :--------------: | ------------------------------------------------------ | ----------- | ------------------------------------------------------------------------------------------------------ | -------------------- | -------------------------------- |
+ | id | Work package id | Integer | x > 0 | READ | |
+ | lockVersion | The version of the item as used for optimistic locking | Integer | | READ | |
+ | subject | Work package subject | String | not null; 1 <= length <= 255 | READ / WRITE | |
+ | 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 | |
+ | 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 | |
+ | derivedStartDate | Similar to start date but is not set by a client but rather deduced by the work packages' descendants. If manual scheduleManually is active, the two dates can deviate. | Date | | READ | |
+ | derivedDueDate | Similar to due date but is not set by a client but rather deduced by the work packages' descendants. If manual scheduleManually is active, the two dates can deviate. | Date | | READ | |
+ | duration | The amount of time in hours the work package needs to be completed. | Duration | **(NOT IMPLEMENTED YET)** Not available for milestone type of work packages. | READ | |
+ | estimatedTime | Time a work package likely needs to be completed excluding its descendants | Duration | | READ / WRITE | |
+ | derivedEstimatedTime | Time a work package likely needs to be completed including its descendants | Duration | | READ | |
+ | ignoreNonWorkingDays | When scheduling, whether or not to ignore the non working days being defined. A work package with the flag set to true will be allowed to be scheduled to a non working day. | Boolean | **(NOT IMPLEMENTED YET)** Not available for milestone type of work packages. | READ | |
+ | spentTime | The time booked for this work package by users working on it | Duration | | READ | **Permission** view time entries |
+ | percentageDone | Amount of total completion for a work package | Integer | 0 <= x <= 100; Cannot be set for parent work packages | READ / WRITE | |
+ | createdAt | Time of creation | DateTime | | READ | |
+ | updatedAt | Time of the most recent change to the work package | DateTime | | READ | |
Note that the properties listed here only cover the built-in properties of the OpenProject Core.
Using plug-ins and custom fields a work package might contain various additional properties.