andygrunwald / andygrunwald/go-jira
Pagination support for GetIssuesForSprint
- 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ả
## Describe the bug
`GetIssuesForSprint` returns only the first 50 issues of a sprint.
## To Reproduce
1. Fill a sprint with more than 50 issues
2. Call `GetIssuesForSprint` on it
3. Find that only the first 50 issues are in the result
## Expected behavior
`GetIssuesForSprint` should have an `Options` parameter to `StartAt` the 2nd page, like #55 describes.
## Possible Solution
Add an `Options` parameter to `GetIssuesForSprint` that allows the user to `StartAt` a specific issue number. So that they eventually can crawl all of them until the results become empty.
## Your Environment
Include as many relevant details about the environment you experienced the problem in
* go-jira version (git tag or sha): v1.12.0
* Go version (`go version`): 1.14.3
* Jira version: JIRA Cloud
* Jira type (cloud or on-premise): JIRA Cloud
* Involved Jira plugins: None
* Operating System and version: Linux 5.16
## Additional context
I tried to get a list of all issues in a sprint, but only got a fraction of the whole.
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á.