mirror of
https://github.com/interviewstreet/go-jira.git
synced 2025-03-27 21:38:54 +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
|
// searchResult is only a small wrapper around the Search (with JQL) method
|
||||||
// to be able to parse the results
|
// to be able to parse the results
|
||||||
type searchResult struct {
|
type searchResult struct {
|
||||||
Issues []Issue `json:"issues" structs:"issues"`
|
Issues []Issue `json:"issues" structs:"issues"`
|
||||||
StartAt int `json:"startAt" structs:"startAt"`
|
StartAt int `json:"startAt" structs:"startAt"`
|
||||||
MaxResults int `json:"maxResults" structs:"maxResults"`
|
MaxResults int `json:"maxResults" structs:"maxResults"`
|
||||||
Total int `json:"total" structs:"total"`
|
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
|
// GetQueryOptions specifies the optional parameters for the Get Issue methods
|
||||||
|
Loading…
x
Reference in New Issue
Block a user