mirror of
https://github.com/interviewstreet/go-jira.git
synced 2025-04-21 12:07:01 +02:00
Add duedate, timespent, timeestimate and timeoriginalestimate to Issue struct
This commit is contained in:
parent
e314420883
commit
b1018be8a7
8
issue.go
8
issue.go
@ -65,22 +65,19 @@ 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
|
||||||
// * "timespent": null,
|
|
||||||
// * "aggregatetimespent": null,
|
// * "aggregatetimespent": null,
|
||||||
// * "workratio": -1,
|
// * "workratio": -1,
|
||||||
// * "lastViewed": null,
|
// * "lastViewed": null,
|
||||||
// * "timeestimate": null,
|
|
||||||
// * "aggregatetimeoriginalestimate": null,
|
// * "aggregatetimeoriginalestimate": null,
|
||||||
// * "timeoriginalestimate": null,
|
|
||||||
// * "aggregatetimeestimate": null,
|
// * "aggregatetimeestimate": null,
|
||||||
// * "environment": null,
|
// * "environment": null,
|
||||||
// * "duedate": null,
|
|
||||||
Type IssueType `json:"issuetype" structs:"issuetype"`
|
Type IssueType `json:"issuetype" structs:"issuetype"`
|
||||||
Project Project `json:"project,omitempty" structs:"project,omitempty"`
|
Project Project `json:"project,omitempty" structs:"project,omitempty"`
|
||||||
Resolution *Resolution `json:"resolution,omitempty" structs:"resolution,omitempty"`
|
Resolution *Resolution `json:"resolution,omitempty" structs:"resolution,omitempty"`
|
||||||
Priority *Priority `json:"priority,omitempty" structs:"priority,omitempty"`
|
Priority *Priority `json:"priority,omitempty" structs:"priority,omitempty"`
|
||||||
Resolutiondate string `json:"resolutiondate,omitempty" structs:"resolutiondate,omitempty"`
|
Resolutiondate string `json:"resolutiondate,omitempty" structs:"resolutiondate,omitempty"`
|
||||||
Created string `json:"created,omitempty" structs:"created,omitempty"`
|
Created string `json:"created,omitempty" structs:"created,omitempty"`
|
||||||
|
Duedate string `json:"duedate,omitempty" structs:"duedate,omitempty"`
|
||||||
Watches *Watches `json:"watches,omitempty" structs:"watches,omitempty"`
|
Watches *Watches `json:"watches,omitempty" structs:"watches,omitempty"`
|
||||||
Assignee *User `json:"assignee,omitempty" structs:"assignee,omitempty"`
|
Assignee *User `json:"assignee,omitempty" structs:"assignee,omitempty"`
|
||||||
Updated string `json:"updated,omitempty" structs:"updated,omitempty"`
|
Updated string `json:"updated,omitempty" structs:"updated,omitempty"`
|
||||||
@ -93,6 +90,9 @@ type IssueFields struct {
|
|||||||
Progress *Progress `json:"progress,omitempty" structs:"progress,omitempty"`
|
Progress *Progress `json:"progress,omitempty" structs:"progress,omitempty"`
|
||||||
AggregateProgress *Progress `json:"aggregateprogress,omitempty" structs:"aggregateprogress,omitempty"`
|
AggregateProgress *Progress `json:"aggregateprogress,omitempty" structs:"aggregateprogress,omitempty"`
|
||||||
TimeTracking *TimeTracking `json:"timetracking,omitempty" structs:"timetracking,omitempty"`
|
TimeTracking *TimeTracking `json:"timetracking,omitempty" structs:"timetracking,omitempty"`
|
||||||
|
TimeSpent int `json:"timespent,omitempty" structs:"timespent,omitempty"`
|
||||||
|
TimeEstimate int `json:"timeestimate,omitempty" structs:"timeestimate,omitempty"`
|
||||||
|
TimeOriginalEstimate int `json:"timeoriginalestimate,omitempty" structs:"timeoriginalestimate,omitempty"`
|
||||||
Worklog *Worklog `json:"worklog,omitempty" structs:"worklog,omitempty"`
|
Worklog *Worklog `json:"worklog,omitempty" structs:"worklog,omitempty"`
|
||||||
IssueLinks []*IssueLink `json:"issuelinks,omitempty" structs:"issuelinks,omitempty"`
|
IssueLinks []*IssueLink `json:"issuelinks,omitempty" structs:"issuelinks,omitempty"`
|
||||||
Comments *Comments `json:"comment,omitempty" structs:"comment,omitempty"`
|
Comments *Comments `json:"comment,omitempty" structs:"comment,omitempty"`
|
||||||
|
Loading…
x
Reference in New Issue
Block a user