Re: [rt-users] Problem with date

2014-11-19 Thread Christian Loos
Hi, as far as I understand you script you try to set the ticket resolved date to the transaction date when the ticket status is set to closed. If you have configured you RT correct this is done automatically by RT. So what is your intent with this script? Chris Am 19.11.2014 um 20:18 schrieb B

Re: [rt-users] Problem with date

2014-11-19 Thread Landon Stewart
On Nov 19, 2014, at 11:18 AM, Bryon Baker wrote: > The dates printed to the console are correct but when I view the ticket the > resolved date is different than the dates printed to the console by 6 hours. > This seems to me to be the off set for the time zone. What do I need to add > for Req

Re: [rt-users] Problem with date

2014-11-19 Thread Bryon Baker
Landon Thanks for the fast response So if I understand you correctly then when I am update the Resolved date I need to subtract 6 hours making it UTC time and the store that value. Is the procedure correct? Thanks Bryon Baker Network Operations Manager Copesan - Specialists in Pest Solutions 80

[rt-users] Problem with date

2014-11-19 Thread Bryon Baker
I am attempting use the following code to update the Resolved date in a ticket. Thanks for the help in advance. package RT::Action::CSRUpdateResolvedTest; use base 'RT::Action'; use strict; use warnings; sub Prepare { return 1; } sub Commit { my %mon2num = qw(

Re: [rt-users] Hiding unused fields

2014-11-19 Thread JZ
This worked great. Thank you On 2014-11-19 02:33, Emmanuel Lacour wrote: On Tue, Nov 18, 2014 at 11:30:15AM -0800, JZ wrote: I would like to hide some fields that we are not using: Time Estimated Time Worked Time Left I would like to hide them everywhere including the Jumbo view. I am usi

[rt-users] Business hour

2014-11-19 Thread smail tahir
Hi All, Could your help me please, i would like to create a script on resolve, that update custum field called “ Type-Intevention” with one of 2 value Value 1 : “On Site” : when the resolution date time is in Business hour “ Between 09am & 18pm from Monday to Friday Value 2 : “Hors Site” :

Re: [rt-users] Hiding unused fields

2014-11-19 Thread Emmanuel Lacour
On Tue, Nov 18, 2014 at 11:30:15AM -0800, JZ wrote: > I would like to hide some fields that we are not using: > > Time Estimated > Time Worked > Time Left > > I would like to hide them everywhere including the Jumbo view. > > > I am using version 4.2.0. How can I do this? > you can try to hi

Re: [rt-users] Closing all incidents by a specific Owner

2014-11-19 Thread Tamás, Szép
Thank you very much, I will try one of those. Tamas > On Wed, Nov 19, 2014 at 11:11:53AM +0100, "Tamás, Szép" wrote: >> Hello all, >> >> Is there a way (script/SQL) to close all incidents owned by one specific >> user? (mass closing) >> > > > you can use the WEB UI, search for all tickets wiht

Re: [rt-users] Closing all incidents by a specific Owner

2014-11-19 Thread Emmanuel Lacour
On Wed, Nov 19, 2014 at 11:11:53AM +0100, "Tamás, Szép" wrote: > Hello all, > > Is there a way (script/SQL) to close all incidents owned by one specific > user? (mass closing) > you can use the WEB UI, search for all tickets wiht this owner, then in the search results, click on "Bulk update" a

[rt-users] Closing all incidents by a specific Owner

2014-11-19 Thread Tamás, Szép
Hello all, Is there a way (script/SQL) to close all incidents owned by one specific user? (mass closing) Regards, Tamas Szep