chg: adjust ticket number handling according to current number scheme