Skip to content

Commit 3a3f674

Browse files
omarlopesinom1guelpf
authored andcommitted
Add method in Projects Class to get project issues
1 parent 6aa9119 commit 3a3f674

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

lib/Gitlab/Api/Projects.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -358,6 +358,14 @@ public function hook($project_id, $hook_id)
358358
return $this->get($this->getProjectPath($project_id, 'hooks/'.$this->encodePath($hook_id)));
359359
}
360360

361+
/**
362+
* @param int $project_id
363+
* @return mixed
364+
*/
365+
public function issues($project_id, $parameters = array())
366+
{
367+
return $this->get($this->getProjectPath($project_id, 'issues'), $parameters);
368+
}
361369
/**
362370
* @param int $project_id
363371
* @param string $url

0 commit comments

Comments
 (0)