Create task
rillsoft_task_createCreate a task in Rillsoft Project under a project or subproject with optional dates, notes, milestone, and duration; calendar-computed dates and the task UUID are returned.
Instructions
Creates a task (RP computes the dates through the calendar) and returns its UUID. Changing it afterwards goes through rillsoft_task_update, moving it in the structure through rillsoft_element_move, deleting it through rillsoft_task_delete. In a portfolio parentUuid names a project or a subproject inside it - nothing is created directly below the portfolio, as in the user interface. One undo step.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | name of the task | |
| notes | No | notes on the task | |
| start | No | start, DD.MM.YYYY hh:mm; defaults to the start of the parent | |
| finish | No | finish, DD.MM.YYYY hh:mm (durationHours is the alternative) | |
| fixedType | No | task type: duration, effort, duration_effort (defaults to the application default from the settings). It says which quantity RP holds fixed while computing: duration keeps the duration, effort keeps the effort, duration_effort keeps both. This matches the choice in the task dialog | |
| milestone | No | true = milestone (duration 0, date fixed) | |
| parentUuid | No | UUID of the project or subproject; empty = the main project | |
| durationHours | No | duration in hours (finish is the alternative) |
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 | |
| milestone | Yes | true = the task that was created is a milestone |