duplicate_project
Make a copy of an existing project as a new project, to run the same work again: "copy last quarter's launch project", "duplicate this project for the new office", "start again from the Q3 plan". The copy carries the project's settings and description, tasks at every level with their order, priorities, estimates, durations, constraints and recurrence, the dependencies between its own tasks, epics, sprints, milestones, tags and org-wide custom field values. With people (default true) it also carries the project members, assignees and task collaborators; the source's owner joins as a manager. It resets every task to To do with no progress, actuals or completion, every milestone and sprint to not done and the project to Planning, and the caller becomes the owner. With startDate every date moves by the same whole days; without it the dates stay as they were. It leaves behind comments, attachments and documents, risks, issues, baselines, time, expenses and revenue, portfolio links, deals, readiness and closeout records, workspace lists and pages, sharing grants, links to tasks in other projects, fields scoped to the source project and every sync the source has. The source project is not changed. Unlike save_project_as_template, which keeps two levels of tasks as date offsets for reuse across many projects and needs the templates feature, this keeps the whole schedule and makes one new project now. A project above 5000 tasks or one that holds a Maker app is refused. The new project counts toward the plan's project limit. Undo deletes the copy. The result includes url, a direct link to the new project in Onplana, which the user has no other way to find from another app.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Name of the new project, 1-200 chars. Default: the source's name followed by " (copy)". | |
| people | No | Carry the members, assignees and task collaborators. Default true; false leaves every task unassigned and the caller the only member. | |
| projectId | Yes | The project to copy. | |
| startDate | No | Optional new start date (YYYY-MM-DD). Every date in the copy moves by the same whole days. Omitted: dates unchanged. |