1
0
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:
Chhekur 2021-08-27 13:53:42 +05:30
parent a854ebf395
commit 852af840d2

@ -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