On Mon, Oct 11, 2010 at 03:50:22PM +1100, Stuart Browne wrote:
> Am trying to do a select-a-worded-priority for our interface and
> have set the sort order to the numeric priority values, but I can't
> figure out how to get the sort order from a Scrip on the queue so I
> can set the ticket's Priority ($ticket->SetPriority(xxx)).

Have you seen RT-Extension-PriorityAsString ?

> Is there a way using ObjectCustomFieldValues or just
> CustomFieldValues, instead of having to write a hash-map of
> word-to-number?

You can iterate through the CustomFieldValues collection from a CF and
request ->SortOrder, or you could just load columns directly.

-kevin

Attachment: pgpKlFsZjm2EA.pgp
Description: PGP signature

RT Training in Washington DC, USA on Oct 25 & 26 2010
Last one this year -- Learn how to get the most out of RT!

Reply via email to