Code cleanup for ticket plugin (3) - refs #6715