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.
1 parent 3925849 commit 49c017dCopy full SHA for 49c017d
src/Jira/Api.php
@@ -360,7 +360,7 @@ public function findVersionByName($projectKey, $name)
360
// Fetch all versions of this project
361
$versions = $this->getVersions($projectKey);
362
363
- // Filter on name in the PHP (Can't be done using the API?)
+ // Filter results on the name
364
$matching_versions = array_filter($versions, function (array $version) use ($name) {
365
return $version['name'] == $name;
366
});
0 commit comments