add CommentsAndWorkNotes
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -18,17 +18,18 @@ type IncidentResultItem struct {
|
||||
|
||||
// TODO - populate more fields here
|
||||
type SingleIncidentResponse struct {
|
||||
Number string `json:"number"` // corresponds with incident_number
|
||||
SysID string `json:"sys_id,omitempty"`
|
||||
IncidentState string `json:"incident_state"` // integer value, 1-6 (6 is resolved)
|
||||
State string `json:"state,omitempty"` // unsure how this differs from IncidentState
|
||||
ShortDescription string `json:"short_description"`
|
||||
AssignedTo interface{} `json:"assigned_to,omitempty"`
|
||||
Description string `json:"description"`
|
||||
Urgency string `json:"urgency"`
|
||||
Impact string `json:"impact"`
|
||||
Category string `json:"category"`
|
||||
Subcategory string `json:"subcategory"`
|
||||
Number string `json:"number"` // corresponds with incident_number
|
||||
SysID string `json:"sys_id,omitempty"`
|
||||
IncidentState string `json:"incident_state"` // integer value, 1-6 (6 is resolved)
|
||||
State string `json:"state,omitempty"` // unsure how this differs from IncidentState
|
||||
ShortDescription string `json:"short_description"`
|
||||
AssignedTo interface{} `json:"assigned_to,omitempty"`
|
||||
Description string `json:"description"`
|
||||
Urgency string `json:"urgency"`
|
||||
Impact string `json:"impact"`
|
||||
Category string `json:"category"`
|
||||
Subcategory string `json:"subcategory"`
|
||||
CommentsAndWorkNotes string `json:"comments_and_work_notes"`
|
||||
// TODO - unvalidated from here on
|
||||
|
||||
// Associated DeviceID (UUID from CPDB)
|
||||
|
Reference in New Issue
Block a user