Skip to content

Commit d2676ca

Browse files
authored
Fixed JQL with pagination example code
1 parent ff20405 commit d2676ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1114,7 +1114,7 @@ try {
11141114
$page = $totalCount / $maxResult;
11151115

11161116
for ($startAt = 1; $startAt < $page; $startAt++) {
1117-
$ret = $issueService->search($jql, $startAt, $maxResult);
1117+
$ret = $issueService->search($jql, $startAt * $maxResult, $maxResult);
11181118

11191119
print ("\nPaging $startAt\n");
11201120
print ("-------------------\n");

0 commit comments

Comments
 (0)