We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b5424d3 + e994da2 commit ff20405Copy full SHA for ff20405
src/Sprint/SprintService.php
@@ -9,6 +9,7 @@
9
namespace JiraRestApi\Sprint;
10
11
use JiraRestApi\Configuration\ConfigurationInterface;
12
+use JiraRestApi\Issue\Issue;
13
use JiraRestApi\JiraClient;
14
use JiraRestApi\JiraException;
15
use Psr\Log\LoggerInterface;
@@ -53,4 +54,17 @@ public function getSprint($sprintId)
53
54
json_decode($ret), new Sprint()
55
);
56
}
57
+
58
+ public function getSprintIssues($sprintId, $paramArray = [])
59
+ {
60
+ $json = $this->exec($this->uri.'/'.$sprintId.'/issue'.$this->toHttpQueryParameter($paramArray), null);
61
62
+ $issues = $this->json_mapper->mapArray(
63
+ json_decode($json)->issues,
64
+ new \ArrayObject(),
65
+ Issue::class
66
+ );
67
68
+ return $issues;
69
+ }
70
0 commit comments