public function show($id, array $params = [])
    {
        if (isset($params['include']) && is_array($params['include'])) {
            $params['include'] = implode(',', $params['include']);
        }

        return $this->get('/issues/'.urlencode($id).'.json?'.http_build_query($params));
    }
public function show($id, array $params = [])
    {
        if (isset($params['include']) && is_array($params['include'])) {
            $params['include'] = implode(',', $params['include']);
        }

        return $this->get('/issues/'.urlencode($id).'.json?'.http_build_query($params));
    }
public function show ( $ id , array $ params = [ ] ) { if ( isset ( $ params [ 'include' ] ) && is_array ( $ params [ 'include' ] ) ) { $ params [ 'include' ] = implode ( ',' , $ params [ 'include' ] ) ; } return $ this -> get ( '/issues/' . urlencode ( $ id ) . '.json?' . http_build_query ( $ params ) ) ; }
Get extended information about an issue gitven its id.

@see http://www.redmine.org/projects/redmine/wiki/Rest_Issues#Using-JSON
available $params :
include: fetch associated data (optional). Possible values: children, attachments, relations, changesets and journals

@param string $id     the issue id
@param array  $params extra associated data

@return array information about the issue
Get extended information about an issue gitven its id .