Project templates
Added by Roël Konings almost 15 years ago
Hello,
I was wondering, is it possible to add templates for projects so when you create a new project you can select a tempplate, I thinks its a must and it saves a huge amount of time!
If there isnt a way to do that is it coming anytime soon?
Replies (13)
RE: Project templates - Added by Felix Schäfer almost 15 years ago
There are no templates per se, but you could create a number of projects you want to use as templates, make them private with no members, and they would effectively be templates, as no one could see them but the administrator(s) and said administrator(s) could copy them over to create a new project.
RE: Project templates - Added by Roël Konings almost 15 years ago
Thanks
Could you maybe explain me a bit more how to do that?
I'm pretty new to redmine.
RE: Project templates - Added by Felix Schäfer almost 15 years ago
Well, create a new project, say with an identifier like template1
or something like that, make it private, and don't add any users. At that point, you have a "raw template" no one can see. Then tweak this project to your liking, and when you are finished, you can go to Administration > Projects, where you will have a list of existing projects with different options like Copy, Lock or Delete. You can then Copy said template, after what you will have created a new project with a new identifier.
RE: Project templates - Added by Roël Konings almost 15 years ago
thanks,
but how do you get it private?
I cant find it anywhere
RE: Project templates - Added by Felix Schäfer almost 15 years ago
I was gonna tell you to just uncheck the Public checkbox in the project settings, but you seem to have found it on your own :-)
Just a small addendum to the above proposition: it seems the project copy is also able to copy/duplicate the content of a project (tickets, wiki pages, …), but the project copy seems to lose any wiki pages hierarchy defined in the source project, don't be too surprised if you rely on that. I've filed a bug, shouldn't be too long in fixing.
RE: Project templates - Added by Roël Konings almost 15 years ago
Ok,
thanks you very much for your help, ill take a cup of coffee and find out how i make it to how i like it :)
RE: Project templates - Added by Rolando Kindelan Nuñez over 14 years ago
I have a template project with more of 250 issues and others configuration things, like roles with permissions, 9 tracker types, 22 custom fields and workflows. I try to clone this project through the copy functionality but its cause a redmine time out, or its done but in a very slow way.
I see the code in the copy function in the Project model and the copy method in the Project Controller, but I can't to find the problem...
I have the 0.9.2 Redmine version. I have a server with 2 GB Ram, 10 gb HDD, 3 GHz. I have installed in the same server a 0.9.2 Redmine and postgreSQL 8.4.
Thank you in advance.
Rolan2kn
RE: Project templates - Added by Felix Schäfer over 14 years ago
Rolando, please file a bug for performance problems.
RE: Project templates - Added by Rolando Kindelan Nuñez over 14 years ago
The copy project functionality its works, but its too slow and the redmine don't have any mechanism to alert the users about the delay time.
Look the times in the following fragment of the .log:
Processing ProjectsController#copy (for 10.128.6.31 at 2010-03-15 16:33:50) [GET]
Parameters: {"action"=>"copy", "id"=>"plantilla", "controller"=>"projects"}
Rendering template within layouts/base
Rendering projects/copy
Completed in 307ms (View: 179, DB: 77) | 200 OK [http://ep-portal.dt.prod.uci.cu/projects/copy/plantilla]
Processing ProjectsController#copy (for 10.128.6.31 at 2010-03-15 16:34:18) [POST]
Parameters: {"enabled_modules"=>["issue_tracking", "time_tracking", "news", "documents", "files", "wiki", "repository", "boards", "ezlibrarian", "project_graphs", "tab", "reportes", "resources"], "commit"=>"Copiar", "only"=>["members", "versions", "issue_categories", "issues", "queries", "boards", "wiki", ""], "action"=>"copy", "authenticity_token"=>"y2aErYca6cGNom4rH47l4YZyKN30lo59srpJ5R+salA=", "id"=>"plantilla", "project"=>{"issue_custom_field_ids"=>[""], "name"=>"plantilla1", "custom_field_values"=>{"77"=>"", "33"=>"", "44"=>"Otros", "34"=>"", "45"=>"Otros", "35"=>"", "46"=>"Otros", "37"=>"Otros", "38"=>"Otros", "39"=>"Otros", "40"=>"Otros", "41"=>"Otros", "42"=>"Otros", "43"=>"Otros"}, "tracker_ids"=>["2", "4", "6", "1", "3", "5", "7", "8", ""], "homepage"=>"", "parent_id"=>"", "is_public"=>"0", "description"=>"dsfds", "identifier"=>"ppp1"}, "controller"=>"projects"}
Redirected to http://ep-portal.dt.prod.uci.cu/admin/projects
Completed in 90866ms (DB: 14657) | 302 Found [http://ep-portal.dt.prod.uci.cu/projects/copy/plantilla]
how I can to enhance this...
thanks in advance.
Rolando
RE: Project templates - Added by Felix Schäfer over 14 years ago
Again, if you think this is a performance issue from redmine, please file a bug so that the devs are made aware of it (they usually don't read the forums). If you think this is a problem with your setup, make sure your DB and your "rails server" are properly configured or open another topic to specifically request help from the community regarding your setup.
RE: Project templates - Added by Tiago Peters about 13 years ago
Hi ALL!
I've created a new project as my template and I added a few tickets there. I'm trying to copy these tickets to new project but the properties (subtask, relations) of my tickets were loosing after copy.
There is another way to do that?
Thanks!
RE: Project templates - Added by Zdravko Balorda over 11 years ago
I've had a hard time finding this project copy, but now I see, it's actually project templating. Only, project copy should be
available to project creator, or manager, too. Nice feature!