Rake task to bulk change users and groups in a message?

(Tobias Eigen) #1

I hope I am able to explain my need properly here - thinking on my feet so let me know if this does not make sense.

The question: is there a rake task to bulk change users and groups in messages?

The background: I have been using the moderators group to include more of my team in member support messages, as part of the experimentation around using discourse as a ticket system. Now I want to create a new group for providing member support and use that instead from now on. I’d also like to bulk update the history of messages so this new group is in those messages instead of the moderators group.

Bonus points for leaving alone automated moderator messages, but not essential.

Moving group messages from one group to another