Move all articles from 1 category to other and tagging

(Junaid Mailk) #1


We want to move all articles from 1 category to the other, Our categories article count range is from 10 to 34,000. We tried the way mentioned here Move topics to new category and it works well for few topics. Is there any other tool that help us to achieve this?

I checked myself in rails code and found a way to achieve this manually using rails console by following this piece of code
operator =, topic_ids, operation, group: operation[:group])
changed_topic_ids = operator.perform!


(Jay Pfaffman) #2

If you want to move all of the topics to another category, why not just rename the category?

(Junaid Mailk) #3

Yes this would work well in some case but if we have 2 categories and each have 1000 topic and we want to merge them then this would not work. Thanks for good idea.

(Charles Walter) #4

I have had to make some large moves in the past to remove unpopular categories. The only thing to keep me sane is relying on a keyboard macro tool to handle some of the repetition of selecting the topics (x tabs and space). I use

Ultimately, would be nice to have a bulk move tool in Discourse, but understandably not a priority since it is not something used that often