ucUploadClone

Purpose

When an upload object is contained in an issue that is being cloned, and the upload object is a cloud/repository-based object, this user custom method can be invoked to populate a cloned object. At a minimum, any thumbnails should be copied, and other repository operations may be needed.

Applies To

File attachments

Signature

public String ucUploadClone ( Object uploadObject, 
                              SesameSession session, 
                              Connection dbconn, 
                              String uploadObjectType,
                              Object newUploadObject ) throws Exception ;

Notes

In the clone operation on the edit screen, contained upload objects must be replicated into the new issue. In the interface, the newUploadObject is the partially populated new upload object (Attachment, ImageItemUDF, or DocumentItemUDF) that can be used to perform the transaction to store it in the database.

For more information, please see here.