JiraRestApi\Project\ProjectService::getAssignable PHP Method

getAssignable() public method

get assignable Users for a given project.
public getAssignable ( $projectIdOrKey ) : Reporter[]
return JiraRestApi\Issue\Reporter[]
    public function getAssignable($projectIdOrKey)
    {
        $ret = $this->exec("/user/assignable/search?project={$projectIdOrKey}", null);
        $json = json_decode($ret);
        $results = array_map(function ($elem) {
            return $this->json_mapper->map($elem, new Reporter());
        }, $json);
        return $results;
    }