1
0
mirror of https://github.com/interviewstreet/go-jira.git synced 2025-04-25 12:14:56 +02:00

Fixed structs tags of Parent struct

This commit is contained in:
Andy Grunwald 2016-11-04 20:44:23 +01:00
parent 5f27aa465c
commit 11bb1a8b27

View File

@ -101,7 +101,7 @@ type IssueFields struct {
Subtasks []*Subtasks `json:"subtasks,omitempty" structs:"subtasks,omitempty"`
Attachments []*Attachment `json:"attachment,omitempty" structs:"attachment,omitempty"`
Epic *Epic `json:"epic,omitempty" structs:"epic,omitempty"`
Parent *Parent `json:"parent,omitempty" structs:"parent,omitempty`
Parent *Parent `json:"parent,omitempty" structs:"parent,omitempty"`
Unknowns tcontainer.MarshalMap
}
@ -264,8 +264,8 @@ type Progress struct {
// Parent represents the parent of a JIRA issue, to be used with subtask issue types.
type Parent struct {
ID string `json:"id,omitempty" structs:id"`
Key string `json:"key,omitempty" structs:key"`
ID string `json:"id,omitempty" structs:"id"`
Key string `json:"key,omitempty" structs:"key"`
}
// Time represents the Time definition of JIRA as a time.Time of go