Group elements into subproject
rillsoft_element_subproject_groupCreates a new subproject and moves existing tasks or subprojects into it, grouping them under one parent with a single undo step.
Instructions
Creates a subproject and pulls the named elements into it - an element being a task or a subproject. This groups elements that already exist; creating an empty subproject goes through rillsoft_subproject_create. In a portfolio the elements must lie inside a project - at portfolio level a new subproject would be a project, which the user interface does not offer either. One undo step, which takes the new subproject away again as well. The answer names the new subproject (uuid, wbs) and the elements that were moved.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | name of the new subproject; left empty it takes the name of the element where there is exactly one, and stays empty otherwise | |
| uuid | No | shorthand for a single element | |
| uuids | No | UUIDs of the elements that move into the new subproject; all of them below the same project or subproject |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wbs | Yes | WBS code | |
| name | Yes | name | |
| uuid | Yes | UUID of the element | |
| start | Yes | start, DD.MM.YYYY hh:mm | |
| finish | Yes | finish, DD.MM.YYYY hh:mm | |
| number | Yes | number of the element; unique even for split tasks | |
| elements | Yes | the elements grouped into the new subproject | |
| parentUuid | Yes | UUID of the parent project or subproject |