Link two tasks
planitude_link_tasksCreates a dependency between two tasks and recalculates the dates. Types: FS (finish-to-start, default), SS (start-to-start), FF (finish-to-finish), SF (start-to-finish). Lag is in working days and can be negative (lead). If the two tasks are already linked, the existing link's type and lag are replaced. A link that would create a cycle is rejected and nothing is saved. Requires write permission.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | Dependency type. Default FS. | |
| lagDays | No | Lag in working days, negative for a lead. | |
| projectId | Yes | Project id (uuid), as returned by planitude_list_projects. | |
| successor | Yes | The task that depends on the predecessor. | |
| lagMinutes | No | Lag in working minutes. Takes precedence over lagDays. | |
| predecessor | Yes | The task that comes first. |