Add issue relationship
mantis_add_relationshipCreates a relationship link between two issues using a specified type such as related, duplicate, or dependency.
Instructions
Links two issues. type is one of: related_to, duplicate_of, has_duplicate, depends_on (parent_of), blocks (child_of) — or a numeric type id.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"issue_id": "<issue_id>",
"target_id": "<target_id>",
"type": "<type>"
},
"name": "mantis_add_relationship"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | Relationship type name or numeric id. | |
| issue_id | Yes | Source issue id. | |
| target_id | Yes | Target (other) issue id. |