[rt-users] Custom fields description and REST API
Guillaume Hilt
ghilt at shadowprojects.org
Wed Mar 21 09:11:09 EDT 2012
Ok, so a custom field name must be prefixed by "CF-".
Good to know.
Well, everything is fine now, except for the custom field values
description but it's not big deal.
Guillaume Hilt
Le 21/03/2012 14:01, Guillaume Hilt a écrit :
> Ok, I got the multiple lines issue fixed. I need every new lines to
> begin with a space.
> 2 tickets issue is fixed too.
>
> I only need to find if and how I can use custom fields in my ticket.
>
> 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