ewsterrenburg / python-otrs

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

Ticket search with multiple StateIDs results in Traceback #40

Closed nstoeckigt closed 4 years ago

nstoeckigt commented 5 years ago

When trying a ticket.search like described in the PyOTRS Docu I always ran into an Exception.

client.ticket_search(States=['new', 'open'],...)
*** AttributeError: 'str' object has no attribute 'to_xml'

also

client.ticket_search(StateIDs=[1, 4, 6, 7, 8, 10, 11],...)
*** AttributeError: 'int' object has no attribute 'to_xml'

What to do?

mjducharme commented 5 years ago

PyOTRS is not the same as python-otrs - two different frameworks