Create issue relation
redmine_create_issue_relationLink two issues with a typed dependency relation – specify the source, target, and how they relate (e.g., blocks, precedes, relates).
Instructions
Link two issues with a typed relation — how dependencies are recorded when planning, e.g. "#42 cannot start until #17 ships". The relation is directional and reads as "issue_id issue_to_id", so state it once from the source issue: Redmine stores a single record and presents the inverse automatically on the other issue. Do NOT call this tool again with the ids swapped to "complete the pair" — that is either rejected as a duplicate or creates a second, redundant link. Use "relates" when no ordering is implied. delay (in days) applies only to "precedes"/"follows". Redmine rejects some relations on purpose — relating an issue to itself, a duplicate of an existing link, a circular "precedes" chain, or a cross-project link when the "cross_project_issue_relations" setting is off — and its message is passed back verbatim, so read it rather than retrying blindly. Read existing links first with redmine_list_issue_relations; undo one with redmine_delete_issue_relation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| delay | No | Days between the predecessor finishing and the successor starting. Meaningful ONLY for "precedes" and "follows"; passing it with any other relation type is rejected. | |
| issue_id | Yes | Numeric id of the SOURCE issue — the one the relation is stated from. | |
| issue_to_id | Yes | Numeric id of the TARGET issue — the one the relation points at. | |
| relation_type | Yes | How the source relates to the target, read as "issue_id <relation_type> issue_to_id": "relates" — a plain, non-directional link, and the right default when unsure; "blocks" — this issue blocks the target, so the target cannot be finished until this one is; "blocked" — this issue is blocked by the target; "precedes" — this issue must finish before the target starts; "follows" — this issue starts only after the target finishes; "duplicates" — this issue is a duplicate of the target; "duplicated" — the target is a duplicate of this issue; "copied_to" — the target was copied from this issue; "copied_from" — this issue was copied from the target (Redmine normally creates the copy pair itself when an issue is copied). |