get_work_package
Retrieve a work package by its internal or display ID, including the full description. Optionally limit the description length with a text limit parameter.
Instructions
Get a work package by id, including its full description.
work_package_id: internal id (e.g., 952) or display_id (e.g., "OPM-51"), not UI display number (e.g., 51).
The description is returned in full by default (single work packages are not
truncated). Pass text_limit to cap it at that many characters; when the
text is cut, description_truncated is true and description_length
reports the real length.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text_limit | No | ||
| work_package_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| url | Yes | ||
| type | Yes | ||
| author | No | ||
| status | Yes | ||
| project | Yes | ||
| subject | Yes | ||
| version | Yes | ||
| assignee | Yes | ||
| category | No | ||
| children | No | ||
| due_date | Yes | ||
| duration | No | ||
| priority | Yes | ||
| ancestors | No | ||
| parent_id | Yes | ||
| created_at | No | ||
| display_id | Yes | ||
| spent_time | No | ||
| start_date | Yes | ||
| updated_at | No | ||
| description | Yes | ||
| responsible | Yes | ||
| lock_version | Yes | ||
| project_phase | Yes | ||
| relations_url | Yes | ||
| activities_url | Yes | ||
| estimated_time | No | ||
| remaining_time | No | ||
| parent_display_id | Yes | ||
| children_truncated | No | ||
| description_length | No | ||
| ancestors_truncated | No | ||
| percentage_complete | Yes | ||
| description_truncated | No | ||
| derived_estimated_time | No | ||
| derived_remaining_time | No |