Open
Description
Return open or closed issues in pagination
public List<GHIssue> getIssues(GHIssueState state) throws IOException {
return this.listIssues(state).toList();
}
public List<GHIssue> getIssues(GHIssueState state, GHMilestone milestone) throws IOException {
Requester requester = (Requester)((Requester)this.root.createRequest().with("state", state)).with("milestone", milestone == null ? "none" : "" + milestone.getNumber());
return ((Requester)requester.withUrlPath(this.getApiTailUrl("issues"), new String[0])).toIterable(GHIssue[].class, (item) -> {
item.wrap(this);
}).toList();
}
I didn’t see any support for paging
Need to manually specify page and pre_page