Feature #3367

Copy versions/custom fields/wiki when copying a project

Added by Kioma Aldecoa over 2 years ago. Updated over 1 year ago.

Status:Closed Start date:2009-05-15
Priority:Normal Due 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 Feature #886: Copy A Project Closed 2008-03-18
related to Feature #1125: Template projects - Or copy as new feature Closed 2008-04-28
related to Defect #3402: Copy project doesn't copy versions, categories or relations Closed 2009-05-21
duplicated by Defect #3459: target version on copy project Closed 2009-06-07

Associated revisions

Revision 2934
Added by Eric Davis over 2 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 about 2 years ago

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

Revision 3165
Added by Eric Davis about 2 years ago

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

History

Updated by Kioma Aldecoa over 2 years ago

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

Updated by Jean-Philippe Lang over 2 years ago

  • Assignee set to Eric Davis

Updated by Jean-Philippe Lang over 2 years ago

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

Updated by Eric Davis over 2 years ago

  • Tracker changed from Defect to Feature

Updated by Eric Davis over 2 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 Assigned

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.

Updated by J.N. Tang over 2 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

Updated by Eric Davis over 2 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.

Updated by Kioma Aldecoa over 2 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.

Updated by Eric Davis over 2 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.

Updated by Jean-Philippe Lang about 2 years ago

Eric, anything left to do on this?

Updated by Eric Davis about 2 years ago

Jean-Philippe Lang:

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

Updated by Eric Davis about 2 years ago

  • Status changed from Assigned 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

Updated by Ian Epperson over 1 year ago

Related to #5664

Also available in: Atom PDF