Create cross-link
stride.create_cross_linkCreate a cross-module traceability link between two entities in the same project. Required: sourceType, sourceId, targetType, targetId (types: story|diagram|process|test_case|defect|adr|epic|component|sprint|release|quality_gate|test_suite|exploratory_session|legacy_system|process_step|process_insight|automation_item|ui_design|test_run; ids are UUIDs) and relationType (implements|tests|affects|blocks|depends_on|derived_from|covers|covers_ac|duplicate_of|related_to|cross_sprint|cross_epic|verifies_defect|has_design|realized_by|has_diagram|has_process). Direction matters for most relations (e.g. test_case —covers→ story, adr —affects→ story, test_case —verifies_defect→ defect); has_design/has_diagram/has_process are normalised to work item → design/diagram/process. Optional metadata (small JSON, e.g. { acId } for covers_ac — but prefer stride.create_test_case_from_ac for that). For story↔story BLOCKS/DEPENDS_ON/RELATED_TO use stride.create_story_relation instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| metadata | No | Optional small JSON attached to the link. | |
| sourceId | Yes | Source entity UUID. | |
| targetId | Yes | Target entity UUID (same project). | |
| sourceType | Yes | ||
| targetType | Yes | ||
| relationType | Yes |