def assign_rows_helper(note_fields, table_row):
    """
    Builds and returns a String of notes from the fields specified in :param
    note_fields and populated with the data for those fields in :param
    table_row

    :param note_fields: Note fields from profile the user wants included in
    the match sent to the Asana API
    :param table_row:
    :return: String. A formatted string containing the notes listed in :param
    note_fields.
    """
    notes = ''
    for note_field in note_fields:
        notes += '{}: {}\n\n'.format(note_field.capitalize(),
                                     table_row[note_field])
    return notes