Project

General

Profile

Actions

Feature #3367

closed

Copy versions/custom fields/wiki when copying a project

Feature #3367: Copy versions/custom fields/wiki when copying a project

Added by Kioma Aldecoa over 17 years ago. Updated over 13 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Projects
Target version:
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 4 (0 open — 4 closed)

Related to Redmine - Defect #3402: Copy project doesn't copy versions, categories or relationsClosedActions
Related to Redmine - Feature #886: Copy A ProjectClosedEric DavisActions
Related to Redmine - Feature #1125: Template projects - Or copy as new featureClosedActions
Has duplicate Redmine - Defect #3459: target version on copy projectClosedActions

Updated by Kioma Aldecoa over 17 years ago Actions #1

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

Updated by Jean-Philippe Lang over 17 years ago Actions #2

  • Assignee set to Eric Davis

Updated by Jean-Philippe Lang over 17 years ago Actions #3

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

Updated by Eric Davis over 17 years ago Actions #4

  • Tracker changed from Defect to Feature

Updated by Eric Davis over 17 years ago Actions #5

  • 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.

Updated by J.N. Tang over 17 years ago Actions #6

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 about 17 years ago Actions #7

  • 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 about 17 years ago Actions #8

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 about 17 years ago Actions #9

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 almost 17 years ago Actions #10

Eric, anything left to do on this?

Updated by Eric Davis almost 17 years ago Actions #11

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 almost 17 years ago Actions #12

  • 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

Updated by Ian Epperson about 16 years ago Actions #13

Related to #5664

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

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

Updated by Toshi MARUYAMA over 13 years ago Actions #15

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.

Actions

Also available in: PDF Atom