create_work_package_relation
Establish a typed relation between two work packages, such as blocks or precedes, after verifying their IDs and existing relations.
Instructions
Create a directed typed relation from one work package to another, such as blocks, precedes, duplicates, or relates. Use after verifying both IDs and existing relations; this writes immediately and duplicate validity is enforced by OpenProject.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lag | No | Optional lag in days for scheduling relations | |
| toId | Yes | Target work-package ID; direction points here | |
| type | Yes | OpenProject relation type; directional pairs such as blocks/blocked have different meaning | |
| fromId | Yes | Source work-package ID; direction starts here | |
| description | No |