Top Menu

Jump to content
Home
    Modules
      • Projects
      • Activity
      • Work packages
      • Gantt charts
      • Calendars
      • Team planners
      • Boards
      • News
    • Getting started
    • Introduction video
      Welcome to OpenProject Community
      Get a quick overview of project management and team collaboration with OpenProject. You can restart this video from the help menu.

    • Help and support
    • Upgrade to Enterprise edition
    • User guides
    • Videos
    • Shortcuts
    • Community forum
    • Enterprise support

    • Additional resources
    • Data privacy and security policy
    • Digital accessibility (DE)
    • OpenProject website
    • Security alerts / Newsletter
    • OpenProject blog
    • Release notes
    • Report a bug
    • Development roadmap
    • Add and edit translations
    • API documentation
  • Sign in
      Forgot your password?

      or sign in with your existing account

      Google

Side Menu

  • Overview
  • Activity
    Activity
  • Roadmap
  • Work packages
    Work packages
  • Gantt charts
    Gantt charts
  • Calendars
    Calendars
  • Team planners
    Team planners
  • Boards
    Boards
  • News
  • Forums

Content

General discussion
  1. OpenProject
  2. Forums
  3. General discussion
  4. Project from Template (And project copy) not copying work packages?

Project from Template (And project copy) not copying work packages?

Added by Kris Drent about 3 years ago

I'm trying OpenProject and seem to have it a problem with templates and copying projects.  I took a quick look and didn't see any bugs around this, so I thought I'd see if it's just a "new user" error. 

I just started up a new OpenProject server using docker (per the recommended "one container per process") method. Logged in, did initial setup, and created a project called "Project 1", added work packages. Then, I "copied" the project to a new project with a new name. The copy seemed to work well, all information and work products packages copied over. 

I renamed this project "Template Project", then I modified a number of work packages, then used the "Set as Template" button to make it into a template.   However, this is where things don't seem to work. When I tried to create a new project using this Template Project as a template, it creates the project, but only 5 of the 25 work packages are copied over the newly created project. The 5 work packages happen to all be of type "Phase" and no "tasks" copied over -- I'm not sure if that is important. Since this didn't work,  I also tried to just do a "copy" of the Template Project, rather than creating a new project using a template. However, this had the same result. Only 5  Work Packages copy over, all phases. 

What's strange is that if I copy the first project (Project 1), that project still copies just fine. However, the second one "Template Project" does not.  Is anyone else hitting issues like this?


Replies (4)

RE: Project from Template (And project copy) not copying work packages? - Added by Kris Drent about 3 years ago

I found the relevant errors on the server logs and discovered that work packages that a have a budget assigned to them are not copied -- they throw an error in the copying process. 

Project#copy_work_packages: work package #150 could not be copied: Budget is not set to one of the allowed values.

I submitted a bug for the problem. In the mean time, if anyone else is needing to copy projects successfully, I was able to copy full projects by removing budgets from all work packages prior to copying, or prior to using the project as a template.

RE: Project from Template (And project copy) not copying work packages? - Added by Carol Baker over 1 year ago

You can set OPENPROJECT_SMTP__OPENSSL__VERIFY__MODE=none if disabling SSL/TLS verification is absolutely necessary.

Use this command to install a bundled software:

openproject config:set OPENPROJECT_SMTP__OPENSSL__VERIFY__MODE=none

Once you have configured this environment variable, please restart your server.

RE: Project from Template (And project copy) not copying work packages? - Added by Ashley Holmes over 1 year ago

Thank you for sharing this..

RE: Project from Template (And project copy) not copying work packages? - Added by Deleted user over 1 year ago

Carol Baker wrote:

You can set OPENPROJECT_SMTP__OPENSSL__VERIFY__MODE=none if disabling SSL/TLS verification is absolutely necessary.

Use this command to install a bundled software:

openproject config:set OPENPROJECT_SMTP__OPENSSL__VERIFY__MODE=none 

Once you have configured this environment variable, please restart your server.

Thank you for providing the plan!!

  • (1 - 4/4)
Loading...