apply Retrieve Pending Tickets

Method to apply the retrievePendingTickets filter

Parameters

retrieve

whether retrieve or not the pending tickets