update_relation
Update a work package relation's type or description with a preview-first confirmation step, so you can adjust dependencies and notes before applying changes.
Instructions
Update the type or description of a relation.
relation_type is subject to the same write-time canonicalization as create_work_package_relation: setting it to a "reverse" pair member (precedes, blocked, duplicated, partof, required) rewrites the stored relation to the paired canonical type (follows, blocks, duplicates, includes, requires) with from_id/to_id swapped relative to the relation's existing from/to. Read the actual type/from_id/to_id back afterward rather than assuming they match what was requested.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | false: preview only, nothing changes. true: applies it; get the user's approval of the preview first. | |
| description | No | ||
| relation_id | Yes | ||
| relation_type | No |