[rt-users] Custom field values based on queue?
Kevin Falcone
falcone at bestpractical.com
Thu Sep 8 20:57:37 EDT 2011
On Thu, Sep 08, 2011 at 11:55:49PM +0200, Jim Lesinski wrote:
> Ok that seems odd to me. How do you distinguish the field then if you want to access it via API or other methods like controls by email?
RT::CustomField->LoadByName is documented to expect a Queue, you can
read about it in the perldoc.
Extensions should load the CF off the ticket's queue.
-kevin
> Maybe the description can be used to determine the field
> In the ui?
>
> Thanks,
> Jim Lesinski
>
> On Sep 8, 2011, at 11:14 PM, Kevin Falcone <falcone at bestpractical.com> wrote:
>
> > On Thu, Sep 08, 2011 at 10:42:27PM +0200, Jim Lesinski wrote:
> >> Is it possible to base custom field values on the queue? I see that
> >> you can have cascading drop down lists based on a previously
> >> selected custom field value. I'd like the same thing but starting at
> >> the queue level.
> >
> > Custom Fields can be assigned on a queue vs global basis, so just
> > create one for each queue with different values.
> >
> > They're allowed to have the same name in each queue, but you may find
> > it a bit confusing if you're writing code around it and forget to
> > specify a queue.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20110908/4a7d5691/attachment.sig>
More information about the rt-users
mailing list