Ticket lister widget can display only unpaid tickets and send all selected ticket’s Id’s to an automation command as command value. You need to enable multi selection on ticket lister widget and define a command in command list. Ticket lister will show a button for that command and you can pass command value to a value looper. In value looped rule you need to load ticket by id, modify ticket and close it.
If you have a lot of tickets you can define a command line as Select All. That will not mapped to a command but will select all tickets displayed in ticket lister.