Hi Sergey,
On Tue, Sep 27, 2011 at 09:57, Sergey Kasatkin root@onsky.ru wrote:
To search tickets sent to specific e-mail in OTRS 3 I'm using following URL:
/otrs/index.pl?Action=AgentTicketSearch&Subaction=Search&To=mailbox@domain.tld
and for e-mail, which was specified in Cc field:
/otrs/index.pl?Action=AgentTicketSearch&Subaction=Search&Cc=mailbox@domain.tld
But when I'm using both of fields in the search conditions, only tickets that meet all conditions come into result.
So, the question is, how to search tickets, which meet any of conditions: "Tickets which contain 'mailbox@domain.tld' in To _OR_ Cc"?
It does not do exactly what you want; but this searches To, CC, From and the article body:
/otrs/index.pl?Action=AgentTicketSearch&Subaction=Search&Fulltext=mailbox@domain.tld
The API itself supports searching just "To OR Cc" but it would be difficult to express this in the GUI. -- Mike