tzTrack: Link two issues
tztrack_relateLink an issue to another issue or an outside event, such as an incident. With blocks, this issue holds up target. With part_of, it is part of target. With relates_to, the two are connected. With arising_from, it came from the outside event in target. With tracked_in, link delegated work to the outside item that holds its product scope and acceptance. Write the tracker first, such as github.com/owner/repo#123. Neither item's state changes the other's. With withdraw true, a standing link is removed. An existing link is returned unchanged. The answer gives the issue and link. A duplicate uses close, not relate.
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": "<issue>",
"type": "<type>",
"target": "<target>"
},
"name": "tztrack_relate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | blocks: the issue holds up target. part_of: it is part of target. relates_to: the two are connected. arising_from: it came from the outside event. tracked_in: the outside item holds the product scope and acceptance for this delegated work. | |
| issue | Yes | The issue, by its number as #n or n, or by its id. | |
| space | No | The space's id, from create_space, the project's .tztrack/config.json, or a saved 'tzTrack space: <name> (<id>)' line. Left out, the call uses your default space. | |
| target | Yes | Give the other issue as #n or n, or by its id. For arising_from or tracked_in, give an outside reference of 1 to 200 printable characters, with its source first, such as github.com/owner/repo#123. Below owner access, an outside reference in issue-number form, such as #7, is refused. | |
| withdraw | No | true removes the link, which must stand; left out or false adds it. |