I am trying to update a ticket via the UpdateTicket web service. Everything works fine except the TimeUnit parameter. I can't properly pass TimeUnits which are not full hours. So like 2.5 hours or 2,5 hours will not work. Please have a look at the attached screenshot. In the screenshot you can see the XML message i am trying to send. How do i have to pass half hour TimeUnits? I looked at the perl code on GitHub and it looks like that it is not accepting anything other then numbers from 0 to 9.
ValidateTimeUnit: https://github.com/OTRS/otrs/blob/548b8 ... n.pm#L1060
ErrorMessage and Screenshot:
UpdateTicket webservice TimeUnit
UpdateTicket webservice TimeUnit
You do not have the required permissions to view the files attached to this post.
Re: UpdateTicket webservice TimeUnit
this seems to be a bug. I suggest to create a bug (http://bugs.otrs.com) and send a pull request via github
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
Re: UpdateTicket webservice TimeUnit
Do you really think that this is a bug or i am just using this function wrong?
I kinda wish that it is not a bug, because i need this feature .
I kinda wish that it is not a bug, because i need this feature .
Re: UpdateTicket webservice TimeUnit
in the frontend you can use , or . so it seems to be a bug
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com