I have defined a Confiform form that has one field defined as File - upload filed/images. I want the attachment associated with an entry to be deleted when the entry is deleted so I added an IFTTT Integration Rules macro with an onDeleted event and Delete Attachment action. I have not succeeded in getting the attachment to delete when the entry is deleted. I have tried a number of ways to specify the attachment ID including:
I am using Confluence 6.8. Any suggestions?
In the attachments to delete parameter you need to put
[entry.myattachment.asAttachments.transform(id).asList]
So, it will render out the list of attachment IDs stored with "myattachment" field
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.