#NEWLINE# def get_issue( self , id , include = None ) : #NEWLINE# #INDENT# "\n        Get one issue\n        GET $base/issues/$id.xml\n\n        >>> r = RedmineClient('http://redmine.example.com', 'test_username', 'test_password', 'test_key')\n        >>> i = r.get_issue(12, include=['children'])\n        >>> i.get_element('id').firstChild.data\n        u'12'\n        " #NEWLINE# url = ( '%s/issues/%d.xml' % ( self . base , id ) ) #NEWLINE# if ( include is not None ) : #NEWLINE# #INDENT# url = ( '%s?include=%s' % ( url , ',' . join ( include ) ) ) #NEWLINE# #UNINDENT# ( response , content ) = self . _request ( url , 'GET' ) #NEWLINE# issue = RedmineIssue ( None ) #NEWLINE# issue . parse ( url ) #NEWLINE# return issue