ewsterrenburg / python-otrs

Pythonic interface to OTRS SOAP API
GNU General Public License v3.0
47 stars 27 forks source link

Question: ticket_search by multiple OwnerIDs #5

Closed dizzydis closed 8 years ago

dizzydis commented 8 years ago

In the ticket_search example, you show something like..

otrs.ticket_search(OwnerIDs=1)

How would I get a result set of tickets for multiple OwnerIDs? I've tried a few things that didn't work and was just wondering if this feature was supported.

I have a workaround in place if not.

Thanks,

ewsterrenburg commented 8 years ago

@dayjavid This feature is not currently supported and at first sight it does not seem trivial to implement.

The easy work-around would be to loop over the OwnerIDs in a loop and perform a series a requests, but my guess is you already considered that yourself :).

dizzydis commented 8 years ago

Yea I actually didn't even go that in depth. We've written auto assignment logic so there's only a couple of owners that we auto reassign from. Up until recently it was only one. With the recent addition of the 2nd, I just created two separate lists and concatenated them. Thanks for the reply though!