def METHOD_NAME(args, config, build_file, package_format):
    template_name = 'release/%s/import_upstream_job.xml.em' % package_format
    data = {
        'import_targets': build_file.targets,
        'credential_id': build_file.upload_credential_id,
        'credential_id_pulp': build_file.upload_credential_id_pulp,
        'dest_credential_id': build_file.upload_destination_credential_id,
    }
    return _get_job_config(
        args, config, config.notify_emails, template_name,
        additional_data=data)