[gh project item-list] Add iterationId field in ProjectV2ItemFieldIterationValue
This commit is contained in:
parent
b0cd1fb655
commit
8bab4b4753
1 changed files with 9 additions and 7 deletions
|
|
@ -235,10 +235,11 @@ type FieldValueNodes struct {
|
|||
Field ProjectField
|
||||
} `graphql:"... on ProjectV2ItemFieldDateValue"`
|
||||
ProjectV2ItemFieldIterationValue struct {
|
||||
Title string
|
||||
StartDate string
|
||||
Duration int
|
||||
Field ProjectField
|
||||
Title string
|
||||
StartDate string
|
||||
Duration int
|
||||
Field ProjectField
|
||||
IterationId string
|
||||
} `graphql:"... on ProjectV2ItemFieldIterationValue"`
|
||||
ProjectV2ItemFieldLabelValue struct {
|
||||
Labels struct {
|
||||
|
|
@ -1488,9 +1489,10 @@ func projectFieldValueData(v FieldValueNodes) interface{} {
|
|||
return v.ProjectV2ItemFieldDateValue.Date
|
||||
case "ProjectV2ItemFieldIterationValue":
|
||||
return map[string]interface{}{
|
||||
"title": v.ProjectV2ItemFieldIterationValue.Title,
|
||||
"startDate": v.ProjectV2ItemFieldIterationValue.StartDate,
|
||||
"duration": v.ProjectV2ItemFieldIterationValue.Duration,
|
||||
"title": v.ProjectV2ItemFieldIterationValue.Title,
|
||||
"startDate": v.ProjectV2ItemFieldIterationValue.StartDate,
|
||||
"duration": v.ProjectV2ItemFieldIterationValue.Duration,
|
||||
"iterationId": v.ProjectV2ItemFieldIterationValue.IterationId,
|
||||
}
|
||||
case "ProjectV2ItemFieldNumberValue":
|
||||
return v.ProjectV2ItemFieldNumberValue.Number
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue