tasks.milestones.getList
Returns the list of all milestones.
Parameters
-
format
GET
Optional
Sets response format. Available options:
json(default),xml.
Return value
Array with the following keys:
- data array The milestone list. Each list item is an array with the following keys:
- data[]['id'] int Milestone ID.
- data[]['closed'] bool Flag denoting whether the milestone is completed.
- data[]['counts'] array Task counters data as an array with the following keys.
- data[]['counts']['active'] int Number of active tasks.
- data[]['counts']['active_priority'] int Number of active tasks with a high priority.
- data[]['counts']['closed'] int Number of closed tasks.
- data[]['counts']['total'] int Total number of tasks.
- data[]['name'] string Milestone name.
- data[]['description'] string Milestone description.
- data[]['project_id'] int Project ID.
- data[]['due_date'] date Deadline.
- data[]['due_info'] array Deadline date properties as an array with the following keys:
- due_info['color'] string HTML color value.
- due_info['days_left'] int Number of remaining days.
- due_info['text'] string Localized description of the remaining period of time.
- data[]['sort'] int Sort value.
- total_count int Total number of milestones.









