Ticket events are events added to the ticket project to triggers within. There are 3 default events on the ticket page to which events can be added:
- Ticket Load: When the ticket page is loaded, it triggers an event on the page.
- Ticket Submit: When a ticket is submitted, it triggers an event.
- Add Comment: When a comment is added, it triggers an event.
As a ticket project administrator you can chose to set the trigger for any, all, or none of these events. Aside from the default events, custom triggers can be added to custom field added to the ticket page.
- Expand Administration and click Ticketing.
- From the Select a Project drop down, click the project for which to add events.
- Click the Events tab.
- Click the Ticket Load Event drop down and chose the JavaScript to run when the ticket page is loaded.
- Click its checkmark to save.
- Click the Ticket Submit Event drop down and chose the JavaScript to run when a ticket is submitted.
- Click its checkmark to save.
- Click the Add Comment Event drop down and chose the JavaScript to run when a comment is added.
- Click its checkmark to save.