andygrunwald / andygrunwald/go-jira
`IssueFields.Unknowns` and `IssueFields.Names` not returned in `Issue.SearchWithContext` api
- 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ả
## What happened?
The fields `IssueFields.Unknowns` and `IssueFields.Names` are not being returned in `Issue.SearchWithContext` API, while its coming in the `Issue.Get` API.
We are setting `Expand: "names"` in the `SearchOptions`
## What did you expect to happen?
The fields `IssueFields.Unknowns` and `IssueFields.Names` return the information in the Search API.
## How can we reproduce it (as minimally and precisely as possible)?
```go
options := jira.SearchOptions{
StartAt: 0,
MaxResults: limit,
Expand: "names",
}
issues, res, err := client.Issue.SearchWithContext(ctx, jql, &options)
```
## Your Environment
* go-jira version (git tag or sha): 1.16.0
* Go version (`go version`): go version go1.20.3 darwin/arm64
* Jira type (cloud or on-premise): cloud
* Jira version / Api version:
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á.