Cloning Issues with attachments disabled will still copy an attachment file

XMLWordPrintable

    • 2
    • Severity 3 - Minor
    • Warranty

      Issue Summary

      When cloning an issue, if the "Attachment" checkbox is unchecked, the clone will still include the attachment file if the attachment in the original issue belongs to a parent_field. For example if the attachment is uploaded into the Description field, or a custom field. 

      Steps to Reproduce

      1. Upload an attachment into an issue's custom field. For example - copy and pasting an image into the Description field, or any other custom field that allows attachments. 
      2. Clone the issue and do not enable the "Attachment" checkbox
      3. The cloned issue still includes the attachment because the Clone feature is copying all customFieldValues. 

      Comparatively, if the attachment were uploaded into the issue through the Attachments section as described in our article: Add an attachment

      1. Upload an attachment using the "Attachment" feature:
      2. You can also upload the attachment into a comment
      3. Clone the issue and do not select the "Attachment" checkbox
      4. The new cloned issue will not include any attachments

      Expected Results

      The Clone feature will not clone attachments even if the attachment was uploaded into a customField

      Actual Results

      The Clone feature is cloning attachments because it is copying all customFieldValues from the origin issue. 

      Workaround

      Currently there is no known workaround for this behavior. A workaround will be added here when available.

      The only option will be to remove the issue from the custom field -> then re-upload the issue using the "Attachment feature" as described in the article: Add an attachment

        1. add_attachment.png
          add_attachment.png
          223 kB
        2. clone.png
          clone.png
          43 kB

              Assignee:
              Unassigned
              Reporter:
              Alan
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

                Created:
                Updated:
                Resolved: