create_work_item_relation_definition
Define named relationship types between work items with outward and inward labels to describe connections.
Instructions
Create a new workspace relation definition.
A relation definition describes a named relationship type with an outward label (how the source item describes the target) and an inward label (how the target item describes the source).
Args: name: Unique name for this relation definition. outward: Label describing the relation from the source item's perspective. inward: Label describing the relation from the target item's perspective. is_active: Whether this definition is active and available for use. color: Hex color code for UI display.
Returns: Created WorkItemRelationDefinition object.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| color | No | ||
| inward | No | ||
| outward | No | ||
| is_active | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| name | No | ||
| color | No | ||
| inward | No | ||
| outward | No | ||
| is_active | No | ||
| workspace | No | ||
| created_at | No | ||
| is_default | No | ||
| sort_order | No | ||
| updated_at | No |