[rt-users] Perl API: Referring to possible values in combobox custom field by ID?

tobiasbp tobiasbp at gmail.com
Wed Oct 19 04:54:50 EDT 2011


Hello list.

I'm working on a script using the perl API. I'm running RT 3.8.8.

I have a custom field of type combobox. Let's say the field has two
possible values:
1: A
2: B

I can easily check if the field has a value of "A" or "B". But, I
would like to refer to the values by ID (1 = A, 2 = B). As the values
may change in the future, but will still have the same meaning (from
the script perspective).

Any ideas?

Regards,
Tobias Balle-Petersen



More information about the rt-users mailing list