You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"content": "<b>Required scope: </b><code>projects:write</code>\n\nCreates and returns a job that will asynchronously handle the duplication.\n\n## Request Body:\n\n| Field | Type | Enum Values | Description |\n|-------|------|-------------|-------------|\n| `data` | object | | |\n| `data.name` | string (required) | | The name of the new project. |\n| `data.team` | string | | Sets the team of the new project. If team is not defined, the new project will be in the same team as the the original project. |\n| `data.include` | string | | A comma-separated list of elements to include when duplicating a project. Some elements are automatically included and cannot be excluded, while others are **optional** and must be explicitly specified in this field. **Auto-included fields (non-configurable)** - Tasks - [Project Views](https://asana.com/features/project-management/project-views) (i.e., tabs in a project such as List, Board, Dashboard, etc.) - [Rules](https://help.asana.com/s/article/rules) *Note: The Owner of the Rules copied to the new project is the user who performs the API call. If the duplication is performed using a [Service Account](https://developers.asana.com/docs/authentication#/service-account), note that Service Accounts cannot access the UI to modify or pause Rules. To prevent unwanted automation behavior, consider pausing Rules in the source project before duplication — their active/paused state is preserved in the new project.* **Optional fields (configurable)** - allocations - forms - members - notes - permissions - task_assignee - task_attachments - task_dates - task_dependencies - task_followers - task_notes - task_projects - task_subtasks - task_tags - task_templates - task_type_default |\n| `data.schedule_dates` | object | | A dictionary of options to auto-shift dates. `task_dates` must be included to use this option. Requires `should_skip_weekends` and either `start_on` or `due_on`, but not both. |\n| `data.schedule_dates.should_skip_weekends` | boolean | | **Required**: Determines if the auto-shifted dates should skip weekends. |\n| `data.schedule_dates.due_on` | string | | Sets the last due date in the duplicated project to the given date. The rest of the due dates will be offset by the same amount as the due dates in the original project. |\n| `data.schedule_dates.start_on` | string | | Sets the first start date in the duplicated project to the given date. The rest of the start dates will be offset by the same amount as the start dates in the original project. |\n\n## Response Body:\n\n| Field | Type | Enum Values | Description |\n|-------|------|-------------|-------------|\n| `data` | object | | A *job* is an object representing a process that handles asynchronous work. |\n| `data.gid` | string | | Globally unique identifier of the resource, as a string. |\n| `data.resource_type` | string | | The base type of this resource. |\n| `data.resource_subtype` | string | | The subtype of this resource. Different subtypes retain many of the same fields and behavior, but may render differently in Asana or represent resources with different semantic meaning. |\n| `data.status` | string | `not_started`, `in_progress`, `succeeded`, `failed` | The current status of this job. |\n| `data.new_portfolio` | object | | A *portfolio* gives a high-level overview of the status of multiple initiatives in Asana. Portfolios provide a dashboard overview of the state of multiple projects, including a progress report and the most recent [project status](https://developers.asana.com/reference/project-statuses) update. Portfolios have some restrictions on size. Each portfolio has a max of 1500 items and, like projects, a max of 20 custom fields. |\n| `data.new_portfolio.gid` | string | | Globally unique identifier of the resource, as a string. |\n| `data.new_portfolio.resource_type` | string | | The base type of this resource. |\n| `data.new_portfolio.name` | string | | The name of the portfolio. |\n| `data.new_project` | object | | A *project* represents a prioritized list of tasks in Asana or a board with columns of tasks represented as cards. It exists in a single workspace or organization and is accessible to a subset of users in that workspace or organization, depending on its permissions. |\n| `data.new_project.gid` | string | | Globally unique identifier of the resource, as a string. |\n| `data.new_project.resource_type` | string | | The base type of this resource. |\n| `data.new_project.name` | string | | Name of the project. This is generally a short sentence fragment that fits on a line in the UI for maximum readability. However, it can be longer. |\n| `data.new_task` | object | | <p><strong style={{ color: \"#4573D2\" }}>Full object requires scope: </strong><code>tasks:read</code></p> The *task* is the basic object around which many operations in Asana are centered. |\n| `data.new_task.gid` | string | | Globally unique identifier of the resource, as a string. |\n| `data.new_task.resource_type` | string | | The base type of this resource. |\n| `data.new_task.name` | string | | The name of the task. |\n| `data.new_task.resource_subtype` | string | `default_task`, `milestone`, `approval`, `custom` | The subtype of this resource. Different subtypes retain many of the same fields and behavior, but may render differently in Asana or represent resources with different semantic meaning. The resource_subtype `milestone` represent a single moment in time. This means tasks with this subtype cannot have a start_date. |\n| `data.new_task.created_by` | object | | [Opt In](https://developers.asana.com/docs/inputoutput-options). A *user* object represents an account in Asana that can be given access to various workspaces, projects, and tasks. |\n| `data.new_task.created_by.gid` | string | | Globally unique identifier of the resource. |\n| `data.new_task.created_by.resource_type` | string | | The type of resource. |\n| `data.new_project_template` | object | | A *project template* is an object that allows new projects to be created with a predefined setup, which may include tasks, sections, Rules, etc. It simplifies the process of running a workflow that involves a similar set of work every time. |\n| `data.new_project_template.gid` | string | | Globally unique identifier of the resource, as a string. |\n| `data.new_project_template.resource_type` | string | | The base type of this resource. |\n| `data.new_project_template.name` | string | | Name of the project template. |\n| `data.new_graph_export` | object | | A *graph_export* object represents a request to export the data starting from a parent object |\n| `data.new_graph_export.gid` | string | | Globally unique identifier of the resource, as a string. |\n| `data.new_graph_export.resource_type` | string | | The base type of this resource. |\n| `data.new_graph_export.created_at` | string(date-time) | | The time at which this resource was created. |\n| `data.new_graph_export.download_url` | string(uri) | | Download this URL to retrieve the full export in JSON format. It will be compressed in a gzip (.gz) container. *Note: May be null if the export is still in progress or failed. If present, this URL may only be valid for 1 hour from the time of retrieval. You should avoid persisting this URL somewhere and rather refresh on demand to ensure you do not keep stale URLs.* |\n| `data.new_graph_export.completed_at` | string(date-time) | | The time at which this resource was completed. |\n| `data.new_resource_export` | object | | A *resource_export* object represents a request to bulk export objects for one or more resources. |\n| `data.new_resource_export.gid` | string | | Globally unique identifier of the resource, as a string. |\n| `data.new_resource_export.resource_type` | string | | The base type of this resource. |\n| `data.new_resource_export.created_at` | string(date-time) | | The time at which the resource export object was created. |\n| `data.new_resource_export.download_url` | string(uri) | | Download this URL to retrieve the full export in [JSON Lines](https://jsonlines.org/) format. It will be compressed in a gzip (.gz) container. *Note: May be null if the export is still in progress or failed.* |\n| `data.new_resource_export.completed_at` | string(date-time) | | The time at which this resource was completed. This will be null if the export is still in progress. |",
56931
+
"content": "<b>Required scope: </b><code>projects:write</code>\n\nCreates and returns a job that will asynchronously handle the duplication.\n\n## Request Body:\n\n| Field | Type | Enum Values | Description |\n|-------|------|-------------|-------------|\n| `data` | object | | |\n| `data.name` | string (required) | | The name of the new project. |\n| `data.include` | string | | A comma-separated list of elements to include when duplicating a project. Some elements are automatically included and cannot be excluded, while others are **optional** and must be explicitly specified in this field. **Auto-included fields (non-configurable)** - Tasks - [Project Views](https://asana.com/features/project-management/project-views) (i.e., tabs in a project such as List, Board, Dashboard, etc.) - [Rules](https://help.asana.com/s/article/rules) *Note: The Owner of the Rules copied to the new project is the user who performs the API call. If the duplication is performed using a [Service Account](https://developers.asana.com/docs/authentication#/service-account), note that Service Accounts cannot access the UI to modify or pause Rules. To prevent unwanted automation behavior, consider pausing Rules in the source project before duplication — their active/paused state is preserved in the new project.* **Optional fields (configurable)** - allocations - forms - members - notes - permissions - task_assignee - task_attachments - task_dates - task_dependencies - task_followers - task_notes - task_projects - task_subtasks - task_tags - task_templates - task_type_default |\n| `data.schedule_dates` | object | | A dictionary of options to auto-shift dates. `task_dates` must be included to use this option. Requires `should_skip_weekends` and either `start_on` or `due_on`, but not both. |\n| `data.schedule_dates.should_skip_weekends` | boolean | | **Required**: Determines if the auto-shifted dates should skip weekends. |\n| `data.schedule_dates.due_on` | string | | Sets the last due date in the duplicated project to the given date. The rest of the due dates will be offset by the same amount as the due dates in the original project. |\n| `data.schedule_dates.start_on` | string | | Sets the first start date in the duplicated project to the given date. The rest of the start dates will be offset by the same amount as the start dates in the original project. |\n\n## Response Body:\n\n| Field | Type | Enum Values | Description |\n|-------|------|-------------|-------------|\n| `data` | object | | A *job* is an object representing a process that handles asynchronous work. |\n| `data.gid` | string | | Globally unique identifier of the resource, as a string. |\n| `data.resource_type` | string | | The base type of this resource. |\n| `data.resource_subtype` | string | | The subtype of this resource. Different subtypes retain many of the same fields and behavior, but may render differently in Asana or represent resources with different semantic meaning. |\n| `data.status` | string | `not_started`, `in_progress`, `succeeded`, `failed` | The current status of this job. |\n| `data.new_portfolio` | object | | A *portfolio* gives a high-level overview of the status of multiple initiatives in Asana. Portfolios provide a dashboard overview of the state of multiple projects, including a progress report and the most recent [project status](https://developers.asana.com/reference/project-statuses) update. Portfolios have some restrictions on size. Each portfolio has a max of 1500 items and, like projects, a max of 20 custom fields. |\n| `data.new_portfolio.gid` | string | | Globally unique identifier of the resource, as a string. |\n| `data.new_portfolio.resource_type` | string | | The base type of this resource. |\n| `data.new_portfolio.name` | string | | The name of the portfolio. |\n| `data.new_project` | object | | A *project* represents a prioritized list of tasks in Asana or a board with columns of tasks represented as cards. It exists in a single workspace or organization and is accessible to a subset of users in that workspace or organization, depending on its permissions. |\n| `data.new_project.gid` | string | | Globally unique identifier of the resource, as a string. |\n| `data.new_project.resource_type` | string | | The base type of this resource. |\n| `data.new_project.name` | string | | Name of the project. This is generally a short sentence fragment that fits on a line in the UI for maximum readability. However, it can be longer. |\n| `data.new_task` | object | | <p><strong style={{ color: \"#4573D2\" }}>Full object requires scope: </strong><code>tasks:read</code></p> The *task* is the basic object around which many operations in Asana are centered. |\n| `data.new_task.gid` | string | | Globally unique identifier of the resource, as a string. |\n| `data.new_task.resource_type` | string | | The base type of this resource. |\n| `data.new_task.name` | string | | The name of the task. |\n| `data.new_task.resource_subtype` | string | `default_task`, `milestone`, `approval`, `custom` | The subtype of this resource. Different subtypes retain many of the same fields and behavior, but may render differently in Asana or represent resources with different semantic meaning. The resource_subtype `milestone` represent a single moment in time. This means tasks with this subtype cannot have a start_date. |\n| `data.new_task.created_by` | object | | [Opt In](https://developers.asana.com/docs/inputoutput-options). A *user* object represents an account in Asana that can be given access to various workspaces, projects, and tasks. |\n| `data.new_task.created_by.gid` | string | | Globally unique identifier of the resource. |\n| `data.new_task.created_by.resource_type` | string | | The type of resource. |\n| `data.new_project_template` | object | | A *project template* is an object that allows new projects to be created with a predefined setup, which may include tasks, sections, Rules, etc. It simplifies the process of running a workflow that involves a similar set of work every time. |\n| `data.new_project_template.gid` | string | | Globally unique identifier of the resource, as a string. |\n| `data.new_project_template.resource_type` | string | | The base type of this resource. |\n| `data.new_project_template.name` | string | | Name of the project template. |\n| `data.new_graph_export` | object | | A *graph_export* object represents a request to export the data starting from a parent object |\n| `data.new_graph_export.gid` | string | | Globally unique identifier of the resource, as a string. |\n| `data.new_graph_export.resource_type` | string | | The base type of this resource. |\n| `data.new_graph_export.created_at` | string(date-time) | | The time at which this resource was created. |\n| `data.new_graph_export.download_url` | string(uri) | | Download this URL to retrieve the full export in JSON format. It will be compressed in a gzip (.gz) container. *Note: May be null if the export is still in progress or failed. If present, this URL may only be valid for 1 hour from the time of retrieval. You should avoid persisting this URL somewhere and rather refresh on demand to ensure you do not keep stale URLs.* |\n| `data.new_graph_export.completed_at` | string(date-time) | | The time at which this resource was completed. |\n| `data.new_resource_export` | object | | A *resource_export* object represents a request to bulk export objects for one or more resources. |\n| `data.new_resource_export.gid` | string | | Globally unique identifier of the resource, as a string. |\n| `data.new_resource_export.resource_type` | string | | The base type of this resource. |\n| `data.new_resource_export.created_at` | string(date-time) | | The time at which the resource export object was created. |\n| `data.new_resource_export.download_url` | string(uri) | | Download this URL to retrieve the full export in [JSON Lines](https://jsonlines.org/) format. It will be compressed in a gzip (.gz) container. *Note: May be null if the export is still in progress or failed.* |\n| `data.new_resource_export.completed_at` | string(date-time) | | The time at which this resource was completed. This will be null if the export is still in progress. |",
0 commit comments