Defect #37580
closed
Enable module for multiple projects
Added by Cheng-Hui PENG over 3 years ago.
Updated over 3 years ago.
Category:
Project settings
Description
Hi there,
I have installed a new module. How do I enalbe it for multiple projects at once?
There are over 500+ projects in our redmine system, I can't enable it for projects one bye one. Is there a easy way to do that?
- Status changed from New to Closed
- Resolution set to Invalid
We don't provide support via issues which are solely meant for core issue tracking. You should post into the forums instead. I'll close this issue accordingly.
Regarding the subject: Redmine core does not provide features to achieve this using the web-UI. However, you can do this programmatically using either the console or the runner using something along the lines of:
Project.all.each do |project|
project.enable_module!(:module_name)
end
Also available in: Atom
PDF