andygrunwald / andygrunwald/go-jira

Expand field from search isn't parsed

Đang mở
#390 3 bình luận 0 reaction 0 người được giao Xem trên GitHub
needs triage
Ngôn ngữ chính
Go
Star
1.6k
Fork
500
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

## Is your feature request related to a problem? Please describe.

You can add "expand" field to the search request
https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-search/#api-rest-api-3-search-get
https://pkg.go.dev/github.com/andygrunwald/go-jira?utm_source=godoc#SearchOptions
So if you add "names" or "schema" for example, you can't get them from the result, because library will read the body, and will not parse this fields

## Describe the solution you'd like

Add this fields into [searchResult](https://github.com/andygrunwald/go-jira/blob/master/issue.go#L515) and somehow return them from Search function

## Describe alternatives you've considered

I can make the request myself, but it's strange, that you can add "expand" in request, but can't read the result

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.