Clone Tasks
Function name
clone-tasks
Parameters
- data (Required). It is an array of project fields. The details of the fields are as follows:
id (Required)The task ID to clone.
project_id (Required)The project id.
plan_start (Required). Date. The planned start date of this task.
formula_key (Optional). The custom field for this task. You need to use the formula key of the custom field.
Return Values
tasks_id
When your data format is XML, you should post something like this :
<data> <item> <!--clones tasks--> <id>12</id> <project_id>100</project_id> <plan_start>2010-11-02T08:00:00</plan_start> <formula_key>500</formula_key> <!-- Formula key of the custom field needs to be used here> </item> <item> <id>13</id> <project_id>100</project_id> <plan_start>2010-11-02T08:00:00</plan_start> </item> </data>
Â
In case of JSON, you should submit an array of objects with the same properties.
[ { "id" : "12", "project_id" : "100", "plan_start" : "2010-11-02T08:00:00" "formula_key" : "500" } { "id" : "13", ... ... } ]