Documentation ¶
Index ¶
Constants ¶
View Source
const ( URICreateTask = "/api/1.0/tasks" URIUpdateTask = "/api/1.0/tasks/%s" ResourceSubtype = "default_task" )
View Source
const (
AddFollowersURI = "/api/1.0/tasks/%s/addFollowers"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FollowersRequest ¶
type FollowersRequest struct {
Data Follower `json:"data"`
}
type Request ¶
type Request struct { ResourceSubtype string `json:"resource_subtype,omitempty"` Assignee string `json:"assignee,omitempty"` Name string `json:"name,omitempty"` Completed bool `json:"completed"` DueOn string `json:"due_on,omitempty"` Liked bool `json:"linked,omitempty"` // Notes refer to the content of each Ticket Notes string `json:"notes,omitempty"` HtmlNotes string `json:"html_notes,omitempty"` StartOn string `json:"start_on,omitempty"` CustomFields map[string]string `json:"custom_fields,omitempty"` Projects []string `json:"projects,omitempty"` Workspace string `json:"workspace,omitempty"` TicketID string `json:"-"` TicketType string `json:"-"` // contains filtered or unexported fields }
func (*Request) GetPAToken ¶
func (*Request) SetPAToken ¶
Click to show internal directories.
Click to hide internal directories.