Feature #3367
closed
Copy versions/custom fields/wiki when copying a project
Added by Kioma Aldecoa over 15 years ago.
Updated over 11 years ago.
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.
To be clear I am talking about the brand new feature in trunk to copy entire projects, ie:
- Assignee set to Eric Davis
Categories should be copied as well and issue relations too (#3402).
- Tracker changed from Defect to Feature
- 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.
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
- 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.
Do you plan to also copy issue statuses? I would vote for issue statuses to also be copied when a project is copied.
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.
Eric, anything left to do on this?
Jean-Philippe Lang:
I think just the custom fields and issue relations are left. I'm going to start on them now.
- 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
The values of custom fields in copied issues are not kept in the new project. Please reopen.
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