ewsterrenburg / python-otrs

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

Ticket Pending time #44

Open engFelipeMonteiro opened 4 years ago

engFelipeMonteiro commented 4 years ago

I am tring to use TicketUpdate method to put a ticket into pending state, I cant put pendingTime to the ticket

$fechar_ticket = Ticket(State='Contingenciado', pendingTime={ 'Diff':10080,}) $client.tc.TicketUpdate(ticket_id=busca_df[0], ticket=fechar_ticket, article=artigo_fechar)

otrs.client.SOAPError: Can't set a ticket on a pending state without pendig time! (TicketUpdate.MissingParameter)

ewsterrenburg commented 4 years ago

@moita69 If I create the SOAP request directly, I am getting the same error (on v5.0.37). It seems to be an issue with OTRS itself. Could you file a bug report with OTRS?