Feature #5457

Move files and documets to another project

Added by Anonymous over 12 years ago. Updated over 3 years 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 over 12 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 over 12 years ago

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

#3 Updated by Gregory Fox over 12 years ago

I agree. This would help us greatly.

#4 Updated by Pedro Gutierrez over 12 years ago

This is related to #5664

#5 Updated by Paul Merlin about 12 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 about 12 years ago

and also related to #5450

#7 Updated by Paolo Montrasio almost 12 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 Anonymous over 8 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 almost 7 years ago


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

#10 Updated by Go MAEDA over 6 years ago

#11 Updated by Kamil . almost 6 years ago

+1! Wee need this feature as well!

#12 Updated by Stefan Busemann about 5 years ago

+1 would be great to have it

#13 Updated by Vladimir Gorin over 3 years ago

+1 Will be cool to have one file in the redmine for the different projects.

For now users downloading files from one project and then uploading back to another one.
will be great to use attachment: through all projects and for the files have option like private or cross project available by direct mention through "attachment:"

Also available in: Atom PDF