Derive roles from assignments
rillsoft_task_role_assignment_deriveRebuilds task role assignments from assigned people, replacing existing ones and recalculating quantities and volumes. Tasks without concrete assignments are skipped.
Instructions
The 'Derive roles from the assignment' wizard: rebuilds the role assignments of each task out of the concrete people assigned to it - existing role assignments are replaced, quantity and volume are formed from those people. Reports them under assignments[]. Machine kinds are the mirror case and go through rillsoft_task_machine_role_assignment_derive; setting a single role by hand goes through rillsoft_task_role_assignment_set. One undo step. Tasks without concrete assignments appear with the cause in skipped[].
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| taskUuids | No | UUIDs of the tasks; empty means every eligible task of the visible project or subproject |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | resource type | |
| tasks | Yes | the tasks that were changed | |
| skipped | Yes | skipped tasks with the cause | |
| processed | Yes | number of tasks processed |