Vote #65246
完了Copy versions/custom fields/wiki when copying a project
100%
説明
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.
journals
To be clear I am talking about the brand new feature in trunk to copy entire projects, ie:
* http://.../admin/projects
* Click copy -- http://.../projects/copy/projectname
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Categories should be copied as well and issue relations too (#3402).
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
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
--------------------------------------------------------------------------------
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.
--------------------------------------------------------------------------------
Project Copy will now copy issue relations. Turns out that custom fields were already handled by the form. r3164
--------------------------------------------------------------------------------
Related to #5664
--------------------------------------------------------------------------------
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.
--------------------------------------------------------------------------------
related_issues
relates,Closed,3402,Copy project doesn't copy versions, categories or relations
relates,Closed,886,Copy A Project
relates,Closed,1125,Template projects - Or copy as new feature
duplicates,Closed,3459,target version on copy project