def _add_value_to_field(self, project_id, field_name, field_type, value):
        if (field_type is not None) and field_type.startswith(u'user'):
            self._import_user(value)
            value = value.login
        if youtrack.EXISTING_FIELDS in field_name:
            return
        custom_field = self._target.getProjectCustomField(project_id, field_name)
        if hasattr(custom_field, u'bundle'):
            bundle = self._target.getBundle(field_type, custom_field.bundle)
            try:
                self._target.addValueToBundle(bundle, value)
            except YouTrackException:
                pass
dataset/ETHPy150Open JetBrains/youtrack-rest-python-library/python/youtrackImporter.py/YouTrackImporter._add_value_to_field/swapped operands of `in`