jira_link
Manage JIRA issue links and hierarchy by listing, creating, or removing relationships and setting parent-child structure.
Instructions
Manage JIRA issue links and hierarchy. Actions: "list" (needs key), "types", "create" (needs key, target, link_type), "remove" (needs link_id), "parent" (needs key = child, target = parent — sets the system parent field for Epic → Story / Story → Sub-task hierarchy, distinct from relationship links).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | Action: `list`, `types`, `create`, `remove`, or `parent`. | |
| key | No | Issue key. Required for `list`; for `create`, this is the source (inward) issue; for `parent`, this is the child issue. Ignored for `types`. | |
| link_id | No | Link id (for `remove`). | |
| link_type | No | Link type name (for `create`), e.g., `Blocks`. | |
| target | No | Target issue key. Required for `create` (the outward issue) and for `parent` (the parent issue). |