1
0
mirror of https://github.com/interviewstreet/go-jira.git synced 2025-03-21 21:07:03 +02:00

Marked Project, Assignee and Description as omitempty

This commit is contained in:
Andy Grunwald 2015-10-29 15:43:05 +01:00
parent 54a4dd2dd6
commit 38d3b84d16

@ -46,15 +46,15 @@ type IssueFields struct {
// * "environment": null,
// * "duedate": null,
Type IssueType `json:"issuetype"`
Project Project `json:"project"`
Project Project `json:"project,omitempty"`
Resolution *Resolution `json:"resolution,omitempty"`
Priority *Priority `json:"priority,omitempty"`
Resolutiondate string `json:"resolutiondate,omitempty"`
Created string `json:"created,omitempty"`
Watches *Watches `json:"watches,omitempty"`
Assignee *Assignee `json:"assignee"`
Assignee *Assignee `json:"assignee,omitempty"`
Updated string `json:"updated,omitempty"`
Description string `json:"description"`
Description string `json:"description,omitempty"`
Summary string `json:"summary"`
Creator *Assignee `json:"Creator,omitempty"`
Reporter *Assignee `json:"reporter,omitempty"`