mirror of
https://github.com/interviewstreet/go-jira.git
synced 2025-03-19 20:57:47 +02:00
bug(IssueSearch) Fix: Search Result was not parsing Names
This commit is contained in:
parent
a854ebf395
commit
852af840d2
9
issue.go
9
issue.go
@ -513,10 +513,11 @@ type SearchOptions struct {
|
||||
// searchResult is only a small wrapper around the Search (with JQL) method
|
||||
// to be able to parse the results
|
||||
type searchResult struct {
|
||||
Issues []Issue `json:"issues" structs:"issues"`
|
||||
StartAt int `json:"startAt" structs:"startAt"`
|
||||
MaxResults int `json:"maxResults" structs:"maxResults"`
|
||||
Total int `json:"total" structs:"total"`
|
||||
Issues []Issue `json:"issues" structs:"issues"`
|
||||
StartAt int `json:"startAt" structs:"startAt"`
|
||||
MaxResults int `json:"maxResults" structs:"maxResults"`
|
||||
Total int `json:"total" structs:"total"`
|
||||
Names map[string]string `json:"names,omitempty" structs:"names,omitempty"`
|
||||
}
|
||||
|
||||
// GetQueryOptions specifies the optional parameters for the Get Issue methods
|
||||
|
Loading…
x
Reference in New Issue
Block a user