Feature #3367

Copy versions/custom fields/wiki when copying a project

Added by Kioma Aldecoa over 8 years ago. Updated over 4 years ago.

Status:ClosedStart date:2009-05-15
Priority:NormalDue date:
Assignee:Eric Davis% Done:

100%

Category:Projects
Target version:0.9.0
Resolution:Fixed

Description

On the latest trunk, when copying a project from source->destination, the destination project does not have any versions, wiki, or custom fields, even if the source project did.

Also, issues in the destination project have versions that seem to point to the versions of the source project, which does not make sense.

Would expect the destination project to have a copy of the versions, wiki, and custom fields of the source project.


Related issues

Related to Redmine - Defect #3402: Copy project doesn't copy versions, categories or relations Closed 2009-05-21
Related to Redmine - Feature #886: Copy A Project Closed 2008-03-18
Related to Redmine - Feature #1125: Template projects - Or copy as new feature Closed 2008-04-28
Duplicated by Redmine - Defect #3459: target version on copy project Closed 2009-06-07

Associated revisions

Revision 2934
Added by Eric Davis about 8 years ago

Improved Project#copy to copy more data from the source Project. #3367

  • Versions
  • Associate the copied issues with the new versions
  • Wiki
  • WikiPages
  • WikiContents
  • IssueCategories

Revision 3164
Added by Eric Davis almost 8 years ago

Copy issue relations when copying a project. (#3367)

Revision 3165
Added by Eric Davis almost 8 years ago

Project custom fields are already copied via the Copy form. (#3367)

History

#1 Updated by Kioma Aldecoa over 8 years ago

To be clear I am talking about the brand new feature in trunk to copy entire projects, ie:

#2 Updated by Jean-Philippe Lang over 8 years ago

  • Assignee set to Eric Davis

#3 Updated by Jean-Philippe Lang over 8 years ago

Categories should be copied as well and issue relations too (#3402).

#4 Updated by Eric Davis over 8 years ago

  • Tracker changed from Defect to Feature

#5 Updated by Eric Davis over 8 years ago

  • Subject changed from Copying a project does not copy versions/custom fields/wiki of source project to Copy versions/custom fields/wiki when copying a project
  • Status changed from New to 7

Changed this to a feature request; Versions and Wiki aren't included in the original copy project. The Issues linking to the source project Version versions would be a bug, but it will be fixed once Versions are copied.

#6 Updated by J.N. Tang over 8 years ago

Eric Davis wrote:

Changed this to a feature request; Versions and Wiki aren't included in the original copy project. The Issues linking to the source project Version versions would be a bug, but it will be fixed once Versions are copied.

I hope the copy function will copy the issue type setting, version planned

#7 Updated by Eric Davis about 8 years ago

  • Target version set to 0.9.0
  • % Done changed from 0 to 70

I've updated the Copy Project to copy more data from the source project and fix the Issue/Version assignments:

  • Versions
  • Associate the copied issues with the new versions
  • Wiki
  • WikiPages
  • WikiContents
  • IssueCategories

I still need to get the custom fields and issue relations to copy across.

#8 Updated by Kioma Aldecoa about 8 years ago

Do you plan to also copy issue statuses? I would vote for issue statuses to also be copied when a project is copied.

#9 Updated by Eric Davis about 8 years ago

Kioma Aldecoa wrote:

Do you plan to also copy issue statuses? I would vote for issue statuses to also be copied when a project is copied.

Yes but it will be part of #3877.

#10 Updated by Jean-Philippe Lang almost 8 years ago

Eric, anything left to do on this?

#11 Updated by Eric Davis almost 8 years ago

Jean-Philippe Lang:

I think just the custom fields and issue relations are left. I'm going to start on them now.

#12 Updated by Eric Davis almost 8 years ago

  • Status changed from 7 to Closed
  • % Done changed from 70 to 100
  • Resolution set to Fixed

Project Copy will now copy issue relations. Turns out that custom fields were already handled by the form. r3164

#13 Updated by Ian Epperson about 7 years ago

Related to #5664

#14 Updated by David Marín Carreño over 4 years ago

The values of custom fields in copied issues are not kept in the new project. Please reopen.

#15 Updated by Toshi MARUYAMA over 4 years ago

David Marín Carreño wrote:

The values of custom fields in copied issues are not kept in the new project. Please reopen.

FYI: new issue #13910.

Also available in: Atom PDF