Actually there is a dialog popup where you need to confirm the attachment deletion, so we believe it's not quite that easy to delete an attachment.
It's not possible to restore an attachment, unfortunately. However, you can try to find a backup of your database where the attachment was still there, run a YT instance with that backup separately and retrieve that attachment.
If you're using a cloud YouTrack instance, we can try to find a suitable backup for you. In that case please submit a support request and let us know the name of your instance, the date when you deleted the attachment, the ID of the issue and the name of the attachment.
Hi Chenke, I'm sorry for the delay.
Actually there is a dialog popup where you need to confirm the attachment deletion, so we believe it's not quite that easy to delete an attachment.
It's not possible to restore an attachment, unfortunately. However, you can try to find a backup of your database where the attachment was still there, run a YT instance with that backup separately and retrieve that attachment.
If you're using a cloud YouTrack instance, we can try to find a suitable backup for you. In that case please submit a support request and let us know the name of your instance, the date when you deleted the attachment, the ID of the issue and the name of the attachment.
Thanks!