Milestone Milestones.Add ( name, [goal], [assignedTo] )

Adds a new milestone to list and starts counting.


string name

Name of milestone. Cannot be empty.

string | DateTimeOffset goal

Goal of milestone. Can be specified as string value in duration format or date time. Optional.

string | Identity assignedTo

Identity to assign milestone. If not specified automatically determined.

Return Value

Returns the instance of Milestone


Goal parameter can be specifed in ISO 8601 duration format like "P2DT3H" or directly specified date like "new Date()". If no goal specified milestone is created without a goal and simply tracks the state of milestone.


$Case.Milestones.Add('SLA 1', 'PT3H');

See Also