Re: How to search for a unique Object using a CustomField ?

Kevin Falcone <[email protected]>
Newsgroups gmane.comp.bug-tracking.request-tracker.devel
Message-ID <[email protected]>
On Fri, Jul 18, 2014 at 10:38:26AM -0400, Al Joslin wrote:
> What is best practice for finding an object within RT given the value 0f an expected CF ?

Load an RT::ObjectCustomFieldValue with that value and CustomField and walk back via the Object method.

You may also want to look at the code in the RT::Migrate:: namespace

-kevin

-- 
RT Training - Boston, September 9-10
http://bestpractical.com/training
signature.asc (application/pgp-signature, 235 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (Darwin)
Comment: GPGTools - http://gpgtools.org

iEYEARECAAYFAlPRGa4ACgkQ0+gKWp5CJQoJtgCg0SAXGng/VLq1Dma5iAwflKp6
QwgAn0tuHDEa9KYBY0gG0IijELAtDu0g
=l27I
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.