lib/Github/Api/Issue.php
public function org($organization, $state, array $params = [])
    {
        if (!in_array($state, ['open', 'closed'])) {
            $state = 'open';
        }

        return $this->get('/orgs/'.rawurlencode($organization).'/issues', array_merge(['page' => 1, 'state' => $state], $params));
    }
public function org($organization, $state, array $params = [])
    {
        if (!in_array($state, ['open', 'closed'])) {
            $state = 'open';
        }

        return $this->get('/orgs/'.rawurlencode($organization).'/issues', array_merge(['page' => 1, 'state' => $state], $params));
    }
public function org ( $ organization , $ state , array $ params = [ ] ) { if ( ! in_array ( $ state , [ 'open' , 'closed' ] ) ) { $ state = 'open' ; } return $ this -> get ( '/orgs/' . rawurlencode ( $ organization ) . '/issues' , array_merge ( [ 'page' => 1 , 'state' => $ state ] , $ params ) ) ; }
List issues by organization.

@link http://developer.github.com/v3/issues/

@param string $organization the organization
@param string $state        the issue state, can be open or closed
@param array  $params       the additional parameters like milestone, assignees, labels, sort, direction

@return array list of issues found
List issues by organization .