On 20/03/14 14:04, Sifa Sensay wrote:
Hi,
Ryan told to Thimal that we can use Query API as an alternative to Search
APIs for Duplicate ticket search component. I was searching for it last
night and I have found the TicketQuery wiki macro which listing tickets
that match certain criteria. Could you please give me more detail about it.
Is it appropriate to use TicketQuery wiki macro to in order to implement
this component?
Kind Regards
Hi Sifa,
Tapping into the new search capabilities may well get better results
than looking at custom queries. Using a wiki macro may well be an
interesting shortcut to generating the required display but you would
need the server to do the work of rendering the macro for you. If there
is a macro that gives (or can be made to give) the results in the form
you require, that could be an interesting shortcut but just requesting
the data you require should also work.
I would think that a large part of the answer may come from how you
propose to present the duplicate tickets to the user.
Cheers,
Gary