mirror of
https://github.com/interviewstreet/go-jira.git
synced 2025-04-27 12:22:19 +02:00
Fixed structs tags of Parent struct
This commit is contained in:
parent
5f27aa465c
commit
11bb1a8b27
6
issue.go
6
issue.go
@ -101,7 +101,7 @@ type IssueFields struct {
|
|||||||
Subtasks []*Subtasks `json:"subtasks,omitempty" structs:"subtasks,omitempty"`
|
Subtasks []*Subtasks `json:"subtasks,omitempty" structs:"subtasks,omitempty"`
|
||||||
Attachments []*Attachment `json:"attachment,omitempty" structs:"attachment,omitempty"`
|
Attachments []*Attachment `json:"attachment,omitempty" structs:"attachment,omitempty"`
|
||||||
Epic *Epic `json:"epic,omitempty" structs:"epic,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
|
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.
|
// Parent represents the parent of a JIRA issue, to be used with subtask issue types.
|
||||||
type Parent struct {
|
type Parent struct {
|
||||||
ID string `json:"id,omitempty" structs:id"`
|
ID string `json:"id,omitempty" structs:"id"`
|
||||||
Key string `json:"key,omitempty" structs:key"`
|
Key string `json:"key,omitempty" structs:"key"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// Time represents the Time definition of JIRA as a time.Time of go
|
// Time represents the Time definition of JIRA as a time.Time of go
|
||||||
|
Loading…
x
Reference in New Issue
Block a user