Feature #3055

Option to copy attachments when copying an issue

Added by Michael Litton over 8 years ago. Updated over 5 years ago.

Status:ClosedStart date:2009-03-26
Priority:NormalDue date:
Assignee:Jean-Philippe Lang% Done:

0%

Category:Attachments
Target version:1.4.0
Resolution:Fixed

Description

When you "move" an issue and select to copy it attachments are not included in the new issue.

duplicate_issues_attachment.diff Magnifier (4.84 KB) Preethi Sriram, 2012-01-17 01:14

attachment-test-results.txt Magnifier (129 Bytes) Preethi Sriram, 2012-01-17 01:14

issues-test-results.txt Magnifier (221 Bytes) Preethi Sriram, 2012-01-17 01:14

journal_test_results.txt Magnifier (128 Bytes) Preethi Sriram, 2012-01-17 01:14

Associated revisions

Revision 8676
Added by Jean-Philippe Lang almost 6 years ago

Copy attachments on issue and project copy (#3055).

Revision 8677
Added by Jean-Philippe Lang almost 6 years ago

Adds an option of the copy form to enable/disable attachments copy (#3055).

History

#1 Updated by Jean-Philippe Lang over 8 years ago

  • Tracker changed from Defect to Feature

#2 Updated by Jean-Philippe Lang over 8 years ago

I don't think that copying the attachments too should be the default behaviour.

#3 Updated by Eric Davis over 8 years ago

-1 I agree with Jean-Philippe Lang. Attachments might be about an issue note which should not copied with the issue.

#4 Updated by Michael Litton over 8 years ago

Should it at least not be an option (checkbox)?

#5 Updated by Arseny Silvestrov over 8 years ago

I faced the same issue just now while copying an issue with lots of images attached.

There were images inserted into description via reference and they didn't get copied. And they probably should have to, because they are used in description.
New descriptions after copying still have the reference , but images are not shown because they are attachments and were not copied.

I think every attachment used in description, e.g. images, should be copied by default.

#6 Updated by Arseny Silvestrov over 8 years ago

Sorry, forgot to preview.
Where I wrote reference it means

reference !name.jpg!

#7 Updated by Michael Litton over 8 years ago

How about the option to do it?

#8 Updated by Michael Litton over 8 years ago

Any progress here? You should be able to copy the files!

#9 Updated by Toshi MARUYAMA over 6 years ago

  • Category set to Attachments

#10 Updated by Martin Denizet (redmine.org team member) over 6 years ago

I agree that it should be an option to be able to copy attachments (and notes).
We lose lot of information without the attachments and we lose lot of time re-uploading the attachments.

#11 Updated by Etienne Massip over 6 years ago

  • Subject changed from Attachmets do not get included on copy to Attachments do not get included on copy

Typo

#12 Updated by Terence Mill over 6 years ago

+1

"COPY" should default copy "all data", or even aks what to copy if all ins't copied.

#13 Updated by Vlax Max over 6 years ago

Duplicate doesn't duplicate attached files as well some it should!
+1

#14 Updated by Terence Mill over 6 years ago

+1

Besides that is a bug not a feature, cause copy shall copy all content. Only the issue id is new, all other data is copied complete.

#15 Updated by R Chang over 6 years ago

+1

Not sure why there is two options: copy and duplicate. My expectation is that at least one of those copies all comments and attachments.

An example work flow is that we have an app across multiple mobile platforms (ios, android, blackberry) and to keep feature parity we open separate tickets for a feature for each platform. It is a big pain to have to keep remembering to attach screenshots to the copied tickets.

#16 Updated by Marek Hulan almost 6 years ago

+1 in here

#17 Updated by Andrea Saccavini almost 6 years ago

+ 1

#20 Updated by Preethi Sriram almost 6 years ago

Attached is a patch that allows duplicate option to copy attachments and journal notes to the new issue.
Unit test results for issue,attachment,journal are attached.

#21 Updated by Jean-Philippe Lang almost 6 years ago

  • Subject changed from Attachments do not get included on copy to Option to copy attachments when copying an issue
  • Status changed from New to Closed
  • Assignee set to Jean-Philippe Lang
  • Target version set to 1.4.0
  • Resolution set to Fixed

Done in r8676, r8677. When the original issue has attachments, you'll get a checkbox on the issue form to copy attachments.

#22 Updated by Josh Wang over 5 years ago

Since the latest version is 1.4.1, and it seems i could not succeed in applying the changes listed in r8676 or r8677. Is there any updates?

#23 Updated by Jean-Philippe Lang over 5 years ago

Josh Wang wrote:

Since the latest version is 1.4.1, and it seems i could not succeed in applying the changes listed in r8676 or r8677. Is there any updates?

This feature is included in 1.4, so you don't need to apply theses changes.

Also available in: Atom PDF