Remove preferred team
rillsoft_project_team_preference_removeRemoves a preferred team from a project or subproject, undoing an inherited team preference. Fails if the pack does not carry that team, so no silent success is reported.
Instructions
Takes the preferred team of a project or subproject back out. The counterpart of rillsoft_project_team_preference_set. An inherited preferred team is removed at the pack that carries it; under preferredTeams[] rillsoft_project_tree_get shows only the entries a pack carries itself. Where the project or subproject does not carry that team, the call fails rather than reporting a silent success. In a portfolio projectUuid names a project or a subproject inside it, as in a single project; an empty projectUuid - the portfolio itself - is refused. One undo step.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| teamId | Yes | id of the team | |
| projectUuid | No | UUID of the project or subproject; empty = the main project |
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 | |
| preferredTeams | Yes | the preferred teams of the project or subproject after the change |