git.cweiske.de
/
paste
/
70.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
(no commit message)
[paste/70.git]
/
example.php
1
<?php
\r
2
$http = new HTTP_Request2();
\r
3
$pi = new PagingJsonIterator(
\r
4
$http,
\r
5
'http://jira.example.com/rest/api/2/search'
\r
6
. '?startAt={startAt}'
\r
7
. '&maxResults={pageSize}'
\r
8
. '&fields=key'
\r
9
),
\r
10
50
\r
11
);
\r
12
foreach ($pi as $issue) {
\r
13
echo $issue->key . "\n";
\r
14
}
\r
15
?>
\r