Hi Michiel,

that's quick, and being appreciated by me and others i think.

I'll give it a try during the weekend, but i'm sure it work work nicely.

wkr
rene



On Wed, May 28, 2014 at 10:22 PM, Michiel Beijen <michiel.beijen@gmail.com> wrote:
Hi Rene,

I've put a new release up on github & CPAN which adds a --PendingTime parameter:

https://github.com/mbeijen/App-OTRS-CreateTicket

    --PendingTime   If a number, # of minutes after current time. Otherwise,
                    should be a string in 'YYYY-MM-DDTHH:MM' format.

So you can say --PendingTime 120 which means "pending in two hours
from now" or --PendingTime 2014-05-29T09:00 which means tomorrow
morning at nine. The script does not bother with time zones or
business hours.

Let me know if this works for you.
--
Michiel

On Wed, May 28, 2014 at 10:37 AM, Michiel Beijen
<michiel.beijen@gmail.com> wrote:
> Hi Rene,
>
> I would probably be able to add this to the script, if you want.
> --
> Michiel
>
> On Tue, May 27, 2014 at 8:31 PM, Rene Stoutjesdijk
> <r.stoutjesdijk@gmail.com> wrote:
>> Good day,
>>
>> i would like to add a pendingtime when we do a close of the ticket.
>> We're currently making use of the App::OTRS::CreateTicket module
>> provided by Micheil Beijen.
>>
>> We want to set the state to 'pending auto close+' but then we also
>> have to add the pending time.
>> This isn't the difficult part, but after that we also have to set the
>> pending time, and this i can't figure out how to do that (i'm not an
>> xml or programming expert).
>>
>> Is somebody having an example on how to do this?
>>
>>
>> wkr
>> rene
>> ---------------------------------------------------------------------
>> OTRS mailing list: otrs - Webpage: http://otrs.org/
>> Archive: http://lists.otrs.org/pipermail/otrs
>> To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs