[rt-users] need to run code when user presses a button

Al Joslin allen.joslin at gmail.com
Thu Mar 26 14:52:26 EDT 2015


I would like to have a button on the display page of a ticket that when clicked runs some code (*) which then causes the display page to refresh

I have the code (*) written which queries a remote database and updates an rt ticket based on what it finds 
	- this is all perl code, using DBI to connect the external db

I don’t care if the code is stored in RT or not

How can I do this?

I can create a button on the Ticket display page which submits a form to an url, perhaps I should return the result as a redirect back to the Ticket display page ?

thanks
al;




More information about the rt-users mailing list