Search found 1 match
- 12 Mar 2013, 23:59
- Forum: General
- Topic: track time by ticket state
- Replies: 25
- Views: 58995
Re: track time by ticket state
create a separate table (ticket_state_time) (id,ticket_id,ticket_state,calculatedtime,....etc etc) create a trigger on the "ticket" table which insert a record in the ticket_state_time table when the ticket_state changes (NEW.ticket_state_id <> OLD.ticket_state_id) with the desired informa...