Take project preset
take_project_presetGive a project a ready-made setup (see list_project_presets) — only what it does not already have: a column, a type, a recurring issue or a page of the same name is left as it is, so taking it twice adds nothing. The workflow is taken only by a project with no issues whose states are still the ones a new project starts with; otherwise 'workflow' answers 'issues' or 'own' and the project's own workflow stays (the workflow screen offers the same one, and asks where each state's work goes). The recurring issues come SWITCHED OFF, each with the day it would first be filed on: read them with list_issue_schedules and switch on the ones meant with set_issue_schedule. The register also switches legal references on for the project and, where the project told nobody of due days ahead, sets that to 14, 7 and 1 days; 'agents' and 'jira' keep the project's types and workflow; 'season' needs the theatre switched on for the company and sets the production type up for anchor dates. With 'samples', the preset's sample issues and pages are filed as you, all labelled 'sample' so they are found and removed together. Words are in 'language' — 'en' or 'ru'. The project's lead, the company's owner or an admin only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| preset | No | Which one: 'requirements', 'agents', 'jira' or 'season'. | requirements |
| project | Yes | The project key, e.g. PM. | |
| samples | No | true to file the sample requirements and pages too. Default false. | |
| language | No | The language the names are written in: 'en' (the default) or 'ru'. They are the project's own afterwards and can be renamed. | en |