def issue_match(search_params_set, issue_info, replace_dict):
    """ Function checks if user-set criteria in search_params was met by the particular issue
    data in *args

    :return:
    """
    set_values = set(issue_info.values())
    for key in search_params_set:
        if key not in set_values:
            return None
    replace_string = list(replace_dict.values())[0]
    for item in issue_info.keys():
        if item is not None and issue_info[item] is not None:
            replace_string = replace_string.replace('<%s>' % item,
                issue_info[item])
    return replace_string
