mirror of
https://github.com/interviewstreet/go-jira.git
synced 2025-03-23 21:09:19 +02:00
Marked Project, Assignee and Description as omitempty
This commit is contained in:
parent
54a4dd2dd6
commit
38d3b84d16
6
issue.go
6
issue.go
@ -46,15 +46,15 @@ type IssueFields struct {
|
|||||||
// * "environment": null,
|
// * "environment": null,
|
||||||
// * "duedate": null,
|
// * "duedate": null,
|
||||||
Type IssueType `json:"issuetype"`
|
Type IssueType `json:"issuetype"`
|
||||||
Project Project `json:"project"`
|
Project Project `json:"project,omitempty"`
|
||||||
Resolution *Resolution `json:"resolution,omitempty"`
|
Resolution *Resolution `json:"resolution,omitempty"`
|
||||||
Priority *Priority `json:"priority,omitempty"`
|
Priority *Priority `json:"priority,omitempty"`
|
||||||
Resolutiondate string `json:"resolutiondate,omitempty"`
|
Resolutiondate string `json:"resolutiondate,omitempty"`
|
||||||
Created string `json:"created,omitempty"`
|
Created string `json:"created,omitempty"`
|
||||||
Watches *Watches `json:"watches,omitempty"`
|
Watches *Watches `json:"watches,omitempty"`
|
||||||
Assignee *Assignee `json:"assignee"`
|
Assignee *Assignee `json:"assignee,omitempty"`
|
||||||
Updated string `json:"updated,omitempty"`
|
Updated string `json:"updated,omitempty"`
|
||||||
Description string `json:"description"`
|
Description string `json:"description,omitempty"`
|
||||||
Summary string `json:"summary"`
|
Summary string `json:"summary"`
|
||||||
Creator *Assignee `json:"Creator,omitempty"`
|
Creator *Assignee `json:"Creator,omitempty"`
|
||||||
Reporter *Assignee `json:"reporter,omitempty"`
|
Reporter *Assignee `json:"reporter,omitempty"`
|
||||||
|
Loading…
x
Reference in New Issue
Block a user