[rt-users] Entering Multiple Select Items in a Custom Field through REST Interface
Bart
bart at pleh.info
Sun Nov 6 16:13:13 EST 2011
sorry, noticed the syntax doesn't make sense O_o
Should be more like this:
set CF-'Field A'='item 1','item 2','item 3'
-- Bart
2011/11/6 Bart <bart at pleh.info>
> Hi,
>
> I don't really have a setup where I can test this but you've mentioned
> that the REST interface returns comma delimited list, have you tried
> entering the CF value with a comma delimited entry? Something like this:
>
> CF-'Field A': 'item 1', 'item 2', 'item 3'
>
> When I have some time I'll see if I can test this in my testing
> environment.
>
> -- Bart
>
>
>
> 2011/11/5 gekkoman <gekkoman at illimitable.com>
>
>> Greetings,
>>
>> Is this possible?
>>
>> I can populate the custom field easily enough through the REST interface
>> with the CF.{field name} format.
>>
>> Don't seem to be able to resolve this back to selections in a multiple
>> entry CF.
>>
>> The REST interface itself returns comma delimited list when displaying a
>> ticket with a multiple item CF selection, so it seems sensible to be
>> able to pass the same result back to RT and have it yield the original
>> result. This does not appear to work.
>>
>>
>> More appropriate may be the ability to pass repetitive key definitions
>> eg
>> CF.{field name A}: Select Item 1
>> CF.{field name A}: Select Item 2
>> ..
>>
>>
>> Regards
>>
>> Tarek
>>
>> --
>> This message has been scanned for viruses and
>> dangerous content by MailScanner, and is
>> believed to be clean.
>>
>> --------
>> RT Training Sessions (http://bestpractical.com/services/training.html)
>> * Barcelona, Spain November 28 & 29, 2011
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20111106/b2a52f5f/attachment.htm>
More information about the rt-users
mailing list