Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Function name

create-tasks

...

project_id (Required). Integer. ID of the project
summary (Required). Name of the task.
is_manual (Optional). True or False. Indicates if the task is manually scheduled. If unspecified, will create the task as per project option.
plan_start (Required if the task is manually scheduled) Date. The planned start date if the task is manually scheduled.
plan_finish (Required if the task is manually scheduled). Date. The planned finish date if the task is manually scheduled.
constraint_type (Required if the task is auto-scheduled). Date. One of the following: ASAP, MSO, MFO, SNET, SNLT, FNET, FNLT, ALAP.
constraint_date (Required). Date of the above constraint to be set.
duration (Optional). Can be specified in days, hours, weeks, etc. (10d, 5h, 2w). Cannot be entered if the task is manually scheduled.
work (Optional). Efforts on the task specified in hours. Cannot be entered if the task is manually scheduled.
parent_id (Optional). Integer. ID of the parent task. 
predecessors (Optional) Primary Key of the predecessor task; not the ID.

assignments (Optional). A string in the form user-id-1[<allocation-1],user-id-2[<allocation-2], etc. E.g. 10001[20%],Mary Jane[40h].

default_schedule_type (Optional). String. Applicable to auto-scheduled tasks. One of the following: FIXED_WORK, FIXED_DURATION or FIXED_UNITS.  If unspecified, will create the task as per the project's "Default Task Schedule Type" option.

...