Skip to content

Commit

Permalink
Merge pull request #49 from AlexThurston/main
Browse files Browse the repository at this point in the history
Add TimeSpent and fix Task field
  • Loading branch information
w-haibara authored Jan 7, 2024
2 parents f652c5d + edce6e4 commit f0a48a9
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions clickup/tasks.go
Original file line number Diff line number Diff line change
@@ -63,6 +63,7 @@ type Task struct {
StartDate string `json:"start_date,omitempty"`
Points Point `json:"points,omitempty"`
TimeEstimate int64 `json:"time_estimate"`
TimeSpent int64 `json:"time_spent"`
CustomFields []CustomField `json:"custom_fields"`
Dependencies []Dependence `json:"dependencies"`
LinkedTasks []LinkedTask `json:"linked_tasks"`
@@ -251,9 +252,9 @@ func (cfs CustomFieldsInGetTasksRequest) EncodeValues(key string, v *url.Values)
}

type GetTaskOptions struct {
CustomTaskIDs string `url:"custom_task_ids,omitempty"`
TeamID int `url:"team_id,omitempty"`
IncludeSubTasks bool `url:"include_subtasks,omitempty"`
CustomTaskIDs bool `url:"custom_task_ids,omitempty"`
TeamID int `url:"team_id,omitempty"`
IncludeSubTasks bool `url:"include_subtasks,omitempty"`
}

type GetBulkTasksTimeInStatusOptions struct {

0 comments on commit f0a48a9

Please sign in to comment.