Split task
rillsoft_task_splitSplit a project task at a chosen time, at its progress point, or into proportional parts by percent, effort, duration, cost, or deliverable.
Instructions
Splits a task. Give exactly one of splitTime, completedPart or proportions. Splitting into n parts is a single undo step. The result is parts[] carrying uuid, wbs, number, name, start, finish, durationHours and progressPercent in WBS order. Beware: every part keeps the UUID of the original task, which is what preserves the baseline reference. What is unique is the number; passed as number it addresses one part in rillsoft_task_update, rillsoft_task_split and rillsoft_task_split_options_get. The name stays the same for all parts as well (just as in the user interface); rename them one by one through rillsoft_task_update.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uuid | Yes | UUID of the task | |
| number | No | narrows an ambiguous UUID down to one part; required to split an already split task again | |
| sameRow | No | draw the parts on one display row (defaults to true); only together with proportions | |
| linkParts | No | create a finish_start dependency between the parts (defaults to true); only together with proportions | |
| splitTime | No | split point, DD.MM.YYYY hh:mm, and it has to lie inside the task; this covers both a starting shift and a conflict point | |
| proportions | No | split by criterion: { criterion: percent|deliverable|effort|duration|cost, values: [ ... ] }. The values are given in the metric of the criterion (rillsoft_task_split_options_get reports metric and totalValue); whatever remains is appended where it can carry a part | |
| completedPart | No | true = split at the point of progress; the only way permitted once times have been recorded |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | Yes | number of parts | |
| parts | Yes | the parts in WBS order; all carry the UUID of the original task |