def csv(self, jql, limit=1000):
        """
        Get issues from jql search result with all related fields
        :param jql: JQL query
        :param limit: max results in the output file
        :return: CSV file
        """
        url = 'sr/jira.issueviews:searchrequest-csv-all-fields/temp/SearchRequest.csv?tempMax={limit}&jqlQuery={jql}'.format(
            limit=limit, jql=jql)
        return self.get(url, not_json_response=True, headers={'Accept': 'application/csv'})
def csv ( self , jql , limit = 1000 ) : url = 'sr/jira.issueviews:searchrequest-csv-all-fields/temp/SearchRequest.csv?tempMax={limit}&jqlQuery={jql}' . format ( limit = limit , jql = jql ) return self . get ( url , not_json_response = True , headers = { 'Accept' : 'application/csv' } )
Get issues from jql search result with all related fields
        :param jql: JQL query
        :param limit: max results in the output file
        :return: CSV file