The procedures for challenging a ticket are governed by the Infraction Rules for Courts of Limited Jurisdiction (IRLJ). The IRLJ can be found in the Washington Court Rules, kept at the reference desk and on the Web.
https://www.courts.wa.gov/court_rules/?fa=court_rules.list&group=clj&set=IRLJ