diff --git a/case.go b/case.go index 7be8910..127c502 100644 --- a/case.go +++ b/case.go @@ -48,24 +48,25 @@ type RequestFilterForCases struct { // SendableCase represents a Test Case // that can be created or updated via the api type SendableCase struct { - Title string `json:"title"` - TypeID int `json:"type_id,omitempty"` - PriorityID int `json:"priority_id,omitempty"` - Estimate string `json:"estimate,omitempty"` - MilestoneID int `json:"milestone_id,omitempty"` - Refs string `json:"refs,omitempty"` - Checkbox bool `json:"custom_checkbox,omitempty"` - Date string `json:"custom_date,omitempty"` - Dropdown int `json:"custom_dropdown,omitempty"` - Integer int `json:"custom_integer,omitempty"` - Milestone int `json:"custom_milestone,omitempty"` - MultiSelect []int `json:"custom_multi-select,omitempty"` - Steps []CustomStep `json:"custom_steps,omitempty"` - String string `json:"custom_string,omitempty"` - TemplateId int `json:"template_id,omitempty"` - Text string `json:"custom_text,omitempty"` - URL string `json:"custom_url,omitempty"` - User int `json:"custom_user,omitempty"` + Title string `json:"title"` + TypeID int `json:"type_id,omitempty"` + PriorityID int `json:"priority_id,omitempty"` + Estimate string `json:"estimate,omitempty"` + MilestoneID int `json:"milestone_id,omitempty"` + Refs string `json:"refs,omitempty"` + Checkbox bool `json:"custom_checkbox,omitempty"` + Date string `json:"custom_date,omitempty"` + Dropdown int `json:"custom_dropdown,omitempty"` + Integer int `json:"custom_integer,omitempty"` + Milestone int `json:"custom_milestone,omitempty"` + MultiSelect []int `json:"custom_multi-select,omitempty"` + Steps []CustomStep `json:"custom_steps,omitempty"` + String string `json:"custom_string,omitempty"` + TemplateId int `json:"template_id,omitempty"` + TestDescription string `json:"custom_test_description,omitempty"` + Text string `json:"custom_text,omitempty"` + URL string `json:"custom_url,omitempty"` + User int `json:"custom_user,omitempty"` } // GetCase returns the existing Test Case caseID