mirror of
https://github.com/interviewstreet/go-jira.git
synced 2025-06-29 00:21:53 +02:00
Added AggregateTimeEstimate, AggregateTimeSpent and AggregateTimeOriginalEstimate to IssueFields
This commit is contained in:
6
issue.go
6
issue.go
@ -91,11 +91,8 @@ type Epic struct {
|
|||||||
// Every JIRA issue has several fields attached.
|
// Every JIRA issue has several fields attached.
|
||||||
type IssueFields struct {
|
type IssueFields struct {
|
||||||
// TODO Missing fields
|
// TODO Missing fields
|
||||||
// * "aggregatetimespent": null,
|
|
||||||
// * "workratio": -1,
|
// * "workratio": -1,
|
||||||
// * "lastViewed": null,
|
// * "lastViewed": null,
|
||||||
// * "aggregatetimeoriginalestimate": null,
|
|
||||||
// * "aggregatetimeestimate": null,
|
|
||||||
// * "environment": null,
|
// * "environment": null,
|
||||||
Expand string `json:"expand,omitempty" structs:"expand,omitempty"`
|
Expand string `json:"expand,omitempty" structs:"expand,omitempty"`
|
||||||
Type IssueType `json:"issuetype,omitempty" structs:"issuetype,omitempty"`
|
Type IssueType `json:"issuetype,omitempty" structs:"issuetype,omitempty"`
|
||||||
@ -130,6 +127,9 @@ type IssueFields struct {
|
|||||||
Epic *Epic `json:"epic,omitempty" structs:"epic,omitempty"`
|
Epic *Epic `json:"epic,omitempty" structs:"epic,omitempty"`
|
||||||
Sprint *Sprint `json:"sprint,omitempty" structs:"sprint,omitempty"`
|
Sprint *Sprint `json:"sprint,omitempty" structs:"sprint,omitempty"`
|
||||||
Parent *Parent `json:"parent,omitempty" structs:"parent,omitempty"`
|
Parent *Parent `json:"parent,omitempty" structs:"parent,omitempty"`
|
||||||
|
AggregateTimeOriginalEstimate int `json:"aggregatetimeoriginalestimate,omitempty" structs:"aggregatetimeoriginalestimate,omitempty"`
|
||||||
|
AggregateTimeSpent int `json:"aggregatetimespent,omitempty" structs:"aggregatetimespent,omitempty"`
|
||||||
|
AggregateTimeEstimate int `json:"aggregatetimeestimate,omitempty" structs:"aggregatetimeestimate,omitempty"`
|
||||||
Unknowns tcontainer.MarshalMap
|
Unknowns tcontainer.MarshalMap
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user