LN_test is trying to import custom user fields using the import_scripts Ruby feature in Discourse. They created a DrupalID field and attempted to import data into it using a JSON file. However, they are having trouble updating the custom fields.
pfaffman suggested searching other importer scripts for examples, but LN_test couldn’t find any examples with JSON files and field names. LN_test also tried importing with a CSV file using the csv_importer.rb script, but it didn’t work.
LN_test shared their CSV file format with the DrupalID field name, but it’s not populating the field. pfaffman advised to find a script that imports custom user fields and add it to the existing script. pfaffman later pointed to specific lines in the csv_importer.rb script that should work, but require defining the ENV variables seen in the script.