Feature #5457

Move files and documets to another project

Added by Erwane Breton about 8 years ago. Updated 8 months ago.

Status:NewStart date:2010-05-06
Priority:NormalDue date:
Assignee:-% Done:


Target version:-


Like issues, it will be cool to switch document from one project to an other.
If we can do that massively, it will be more cool :)

Related issues

Related to Redmine - Feature #5450: Move wiki page to other project Closed 2010-05-05
Related to Redmine - Feature #5664: Copying documents too when copying a project Closed 2010-06-10
Duplicated by Redmine - Feature #14869: Move Documents Closed


#1 Updated by Mark Anderson about 8 years ago

Might be nice to be able to either MOVE or COPY those documents. Sometimes we may want multiple non-related projects to have access to some common documents.

#2 Updated by Darryl Winder about 8 years ago

+1 , same goes for files and moving files between wiki pages

#3 Updated by Gregory Fox almost 8 years ago

I agree. This would help us greatly.

#4 Updated by Pedro Gutierrez almost 8 years ago

This is related to #5664

#5 Updated by Paul Merlin over 7 years ago

Seems like a must have when you need to refactor a redmine setup that is years old and has plenty of them ...

#6 Updated by Andy Bolstridge over 7 years ago

and also related to #5450

#7 Updated by Paolo Montrasio over 7 years ago

This would be useful also on new project.
I ofter start with a single wiki page and divide it into more pages as the project goes on and the development team understand which structure is more appropriate for the wiki.
I just created a new page and had to move attachments from the home to there. I googled how to do it and found this feature request.
I eventually did it by changing the container_id attribute in the attachments table.
As a reference, here is what you need to do to move one attachment from one page to another.

select * from projects where identifier = '...';
select * from wikis where project_id = ...;
select * from wiki_pages where wiki_id = ... and title = '...'; -- the source page
select * from wiki_pages where wiki_id = ... and title = '...'; -- the destination page
select * from attachments where container_id = ...; -- the source page id from wiki_pages
update attachments set container_id = ... where id = ...; -- the destination page id and the attachment id

#8 Updated by Alex Wilhelmy almost 4 years ago

Anything new on this feature-request? This would be a very useful feature: when a project grows and you allow additional users to co-work you might wish to move documents to a restricted-access sub-project.

#9 Updated by Robert Schneider over 2 years ago


How can I do this manually? Just updating the document table? Has anyone done that?

#10 Updated by Go MAEDA almost 2 years ago

#11 Updated by Kamil . over 1 year ago

+1! Wee need this feature as well!

#12 Updated by Stefan Busemann 8 months ago

+1 would be great to have it

Also available in: Atom PDF