[rt-users] Custom fields description and REST API

Guillaume Hilt ghilt at shadowprojects.org
Wed Mar 21 07:44:04 EDT 2012


I still have the option to simply create and send an email to RT using 
the customer data.
Maybe it would be a better solution.

   Guillaume Hilt


Le 21/03/2012 12:40, Guillaume Hilt a écrit :
> I have two more questions and I think my rt install will be completed.
>
> First of all, I added an "OS" dropbox field to tickets with values and 
> description like "win32 -> Windows".
> When I create a ticket using the web interface, I only see values in 
> the dropbox, the description isn't used as label.
> I'd hoped to have something like :
> <option value="win32">Windows</option>
>
> On the other hand, when I'm creating a ticket using the api in PHP :
> $request        = new HttpRequest( $url, HTTP_METH_POST );
> $post_data      = array( 'content' => "Queue: Français\nRequestor: 
> test\nOS: win32\nSubject: New ticket\nOwner: test\nText: This is a new 
> ticket.
> Hope it works.\n" );
>
> I got 2 tickets created, the OS customer fields isn't recorded and if 
> the message use multiple lines, only the first one is taken ("This is 
> a new ticket." in this case).
>
> Is it an api limitation ?
>
> Regards,
>



More information about the rt-users mailing list