Search display question

Where do I look to figure how to do the following:
I have a custom field called account number.
I want to call a rt page to pull up all tickets that have the account
number = to xxxx
I have created a search and saved it but it has the account number as part
of the search.
that is to say, I put 16000 as the hard-coded account number.
Where should I look to figure out how to accomplish this.
**Note: I am calling the page from another system which is not rt.

Thanks for any pointers.

– Kelly PRescott

prescott@wcoil.com wrote:

I want to call a rt page to pull up all tickets that have the account
number = to xxxx
I have created a search and saved it but it has the account number as part
of the search.
that is to say, I put 16000 as the hard-coded account number.
Where should I look to figure out how to accomplish this.
**Note: I am calling the page from another system which is not rt.

REST interface to the rescue. See REST - Request Tracker Wiki

The URI you want is

/REST/1.0/search/ticket/?query=&orderby=&format=

Replace with your query from the search builder (and parameterize
your account number).

– ============================
Tom Lahti
BIT Statement LLC

(425)251-0833 x 117
http://www.bitstatement.net/
– ============================

REST does do what I want, but I want RT to handle all the display.
I figured out how to just give a url to Results.html and it seems to work
fine.
Thanks for your information as it helped me to find what I needed.

– Kelly PRescottOn Mon, 20 Apr 2009, Tom Lahti wrote:

Date: Mon, 20 Apr 2009 14:13:11 -0700
From: Tom Lahti toml@bitstatement.net
To: prescott@wcoil.com
Cc: rt-users@bestpractical.com
Subject: Re: [rt-users] search display question

prescott@wcoil.com wrote:

I want to call a rt page to pull up all tickets that have the account
number = to xxxx
I have created a search and saved it but it has the account number as part
of the search.
that is to say, I put 16000 as the hard-coded account number.
Where should I look to figure out how to accomplish this.
**Note: I am calling the page from another system which is not rt.

REST interface to the rescue. See REST - Request Tracker Wiki

The URI you want is

/REST/1.0/search/ticket/?query=&orderby=&format=

Replace with your query from the search builder (and parameterize
your account number).

prescott@wcoil.com wrote:

I figured out how to just give a url to Results.html and it seems to
work fine.

… until some future version of RT where the URI scheme of the web
interface changes. The REST interface won’t.