There exists an import script: discourse/script/import_scripts/question2answer.rb at main · discourse/discourse · GitHub and some discussion here: Migration error with question2answer.rb - #17 by michaeld
2 Likes