perceval/backends/core/jira.py
def map_custom_field(custom_fields, fields):
    """Add extra information for custom fields.

    :param custom_fields: set of custom fields with the extra information
    :param fields: fields of the issue where to add the extra information

    :returns: an set of items with the extra information mapped
    """
    def build_cf(cf, v):
        return {'id': cf['id'], 'name': cf['name'], 'value': v}

    return {
        k: build_cf(custom_fields[k], v)
        for k, v in fields.items()
        if k in custom_fields
    }
def map_custom_field(custom_fields, fields):
    def build_cf(cf, v):
        return {'id': cf['id'], 'name': cf['name'], 'value': v}

    return {
        k: build_cf(custom_fields[k], v)
        for k, v in fields.items()
        if k in custom_fields
    }
def map_custom_field ( custom_fields , fields ) : def build_cf ( cf , v ) : return { 'id' : cf [ 'id' ] , 'name' : cf [ 'name' ] , 'value' : v } return { k : build_cf ( custom_fields [ k ] , v ) for k , v in fields . items ( ) if k in custom_fields }
Add extra information for custom fields.

    :param custom_fields: set of custom fields with the extra information
    :param fields: fields of the issue where to add the extra information

    :returns: an set of items with the extra information mapped
Add extra information for custom fields .