Hm, I haven’t tried this before, but the below approach worked for me and returned all attachments for a single ticket:
This is the result:
If want to re-use this logic for multiple tickets it might be worth putting it in its own workflow, then use an Execute Workflow node whenever you need all attachments for a ticket.