Top Menu

Jump to content
Home
    • Projects
    • Activity
    • Work packages
    • 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
    • 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?
      Create a new account

      or sign in with your existing account

      Google

Side Menu

  • Overview
  • Activity
    Activity
  • Roadmap
  • Work packages
    Work packages
  • Calendars
    Calendars
  • Team planners
    Team planners
  • Boards
    Boards
  • News
  • Forums
  • Feature tour
    Feature tour
You are here:
  1. Forums
  2. General discussion

Content

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

Added by Kris Drent over 1 year 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 (1)

RE: Project from Template (And project copy) not copying work packages? - Added by Kris Drent over 1 year 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.

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