refactored ticket list generation (merge into all branches)