presc...@wcoil.com wrote:
> I would like to know if there is a way to pass a custom field value on 
> ticket create.
> We have a internal billing system and one of the buttons is for a new 
> ticket.
> I want to pass the customers account number as a custom field value to the 
> create screen in RT.
> What is the best way to accomplish this...

Use the REST interface rather than POSTing to the web interface.  That's
what its for (and you can easily set custom fields that way).

The web interface may change with an upgrade, breaking your code; the REST
interface will not.

See http://wiki.bestpractical.com/view/REST

There are REST client convenience libraries for perl (RT::Client::REST on
CPAN) and ruby (rt-client gem on rubyforge), or you can roll your own
directly to the REST interface fairly easily.

-- 
-- ============================
   Tom Lahti
   BIT Statement LLC

   (425)251-0833 x 117
   http://www.bitstatement.net/
-- ============================
_______________________________________________
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com

Reply via email to