@classmethod
def export_set(cls, dataset):
    """Formats the dataset according to the Jira table syntax:

        ||heading 1||heading 2||heading 3||
        |col A1|col A2|col A3|
        |col B1|col B2|col B3|

        :param dataset: dataset to serialize
        :type dataset: tablib.core.Dataset
        """
    header = cls._get_header(dataset.headers) if dataset.headers else ''
    body = cls._get_body(dataset)
    return '{}\n{}'.format(header, body) if header else body
