get_project_work_package_context
Retrieve project metadata and, when needed, the writable work-package schema for a specific type to prepare accurate OpenProject work-package creation or updates.
Instructions
Return project metadata and, optionally, the writable work-package schema for a given type.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | ||
| project | Yes | Project identifier, id, or name; a unique part of a name or identifier also matches. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fields | Yes | ||
| project_id | Yes | ||
| project_name | Yes | ||
| custom_fields | Yes | ||
| available_types | Yes | ||
| selected_type_id | Yes | ||
| available_statuses | Yes | ||
| available_versions | Yes | ||
| project_identifier | Yes | ||
| selected_type_name | Yes | ||
| available_categories | Yes | ||
| available_priorities | Yes | ||
| available_project_phases | Yes |