I am migrating my support forum to Discourse from a helpdesk (YouTrack).
I would like to use API to do the following:
- Pull users (name, username, e-mail) from YouTrack and create similar users in Discourse. Not setting passwords for them!
- Send an invitation to all these users to sign up in Discourse, using the same usernames and e-mails (for them to create new passwords).
- Pull certain topics, attachments, and comments from YouTrack and create the same in Discourse.
For that, I will need the same users to exist in Discourse so that they could be made authors of topics and comments. This has to be done, no matter whether such users have signed up in Discourse after receiving the invitation, or not.
a) The API documentation says that the “password” field is required when creating a user. How can I work around it?
b) What should be the state of such user (created via API, already has some topics under his name, but not yet confirmed, nor password set)?