I don't know your exact requirements but you may find the following plugins helpful. You may build your own plugin on top of these with some customization as per your requirements so that its compatible with the latest version of Redmine.
http://www.redmine.org/projects/redmine/wiki/PluginEzlibrarian