Re: [rt-users] Change AutoResponse Global Template based on time of the day

2014-10-16 Thread Emmanuel Lacour
Le 15/10/2014 19:50, rjandric via rt-users a écrit : In your custom condition you should be able to finish by: if ($hours ...) { $self-SetTemplate(WorkingHoursTemplateName); } elsif ($hours ) { $self-SetTemplate(NonWorkingHoursTemplateName); } return 1; -- Easter-eggs

Re: [rt-users] Send email reminder fails with undefined value

2014-10-16 Thread Emmanuel Lacour
Le 15/10/2014 20:38, fleon a écrit : I am having issues making your example work. I created /opt/rt4/local/html/MyCallbacks//Elements/ShowHistory/SkipTransaction and it contains the following: Wrong path, it must be:

Re: [rt-users] Emails to Queue Alias, still merge to other queue

2014-10-16 Thread Emmanuel Lacour
Le 15/10/2014 22:59, Root Kev a écrit : Any chance you could point me in the right direction as to how to patch Email.pm to do the routing based on recipient email address? I'm sorry, not until ...some months, I'm very busy on many RT projects :( -- Easter-eggs

Re: [rt-users] porting over Asset Tracker info to a new instance

2014-10-16 Thread Joop
On 15-10-2014 20:08, William Clarke wrote: RT, Little more info... I have migrated\updated rt3 database to a fresh install of rt4.2.8. So I can bounce back and forth between rt3 database and rt4 database with $DatabaseName in RT_SiteConfig.pm. rt4 database has RT::Extension::Assets plugin

Re: [rt-users] Send email reminder fails with undefined value

2014-10-16 Thread fleon
Sorry, i mistyped. The code is definitely executing, because i put a RT-Logger-error($Transaction-Type); at the beginning of the code. But i get all transactions shown on the main ticket view! I even did just a return; on the code to see it exit and it shows the same. Here is all the output

Re: [rt-users] Send email reminder fails with undefined value

2014-10-16 Thread fleon
I made the code work! I got suspicious when i saw that emails from cron came from user root, id =12. 12??? Isn't the superuser supposed to be id 1? So i hardcoded 12 into the line: return unless $Transaction-Creator == 12; And now it hides those transactions. I tried substituting the cron job

Re: [rt-users] porting over Asset Tracker info to a new instance

2014-10-16 Thread William Clarke
Joop, Thank you very much for your reply. In case it's of any help, here are logs when I set database to rt3 and assign Plugin( RTx::AssetTracker ); Let me know if there is any other info you might need to give me some direction on getting AT3.0 up and running. I'm also going to try to get

[rt-users] Requester's manager into custom field

2014-10-16 Thread Guy Baxter
Hi, I've been asked to produce RT reports/Dashboards/ticket digests for department heads. I think the easiest way for this is to set the AdminCC for a ticket to the requester's manager. We have managers defined in AD so this should be achievable via a scrip? How would I progress this forward?

Re: [rt-users] Send email reminder fails with undefined value

2014-10-16 Thread Kevin Falcone
On Thu, Oct 16, 2014 at 05:13:38AM -0700, fleon wrote: Can't i use RT::Action:SendEmail instead of RT::Action::Notify to avoid getting the transaction on the ticket in the first place? That way i could delete the callback...But i would need SendEmail to be able to read the ticket information

Re: [rt-users] Emails to Queue Alias, still merge to other queue

2014-10-16 Thread Kevin Falcone
On Wed, Oct 15, 2014 at 10:23:48AM +0200, Emmanuel Lacour wrote: Is there any way to force RT to respect the incoming email/queue from rt-mailgate over merging by the ticket numbers (when this type of thing occurs)? As I believe has been said, but I'll repeat it. Using the ticket id instead

Re: [rt-users] Handful of users showing up in owner dropdown but have no access

2014-10-16 Thread Kevin Falcone
On Wed, Oct 15, 2014 at 11:56:38AM -0400, Mike Johnson wrote: I did that query and it returned 26 rows. All of the returned rows say the PrinicpalType is Group, which I would assume means the 'OwnTicket' right is not granted to a specific user anywhere in RT. Nope, every user in RT has a group

[rt-users] Issue when deleting Assets and recreating with roles

2014-10-16 Thread fleon
I experienced a bug with the Asset extension. When you find assets by name, when you press the bulk update button and change one value, the name of the search gets assigned to all assets. Having found this, i wanted to delete all assets and reinsert them. So i changed their status to deleted and

Re: [rt-users] Issue when deleting Assets and recreating with roles

2014-10-16 Thread Alex Vandiver
On 10/16/2014 02:43 PM, fleon wrote: I experienced a bug with the Asset extension. When you find assets by name, when you press the bulk update button and change one value, the name of the search gets assigned to all assets. Please explain more clearly what you mean by the name of the search.

Re: [rt-users] Issue when deleting Assets and recreating with roles

2014-10-16 Thread fleon
Sorry, i will try to explain myself further. English is not my primary language. We user a number to identify our assets (with some exceptions that gives me trouble). To better classify our assets, we use the format device-location-id, so i am able to search only printers for example, without

Re: [rt-users] Exporting Time spent transactions

2014-10-16 Thread huotg01
Thanks Emmanuel I didn't see your answer when published. Gaston -- View this message in context: http://requesttracker.8502.n7.nabble.com/Exporting-Time-spent-transactions-tp58777p58866.html Sent from the Request Tracker - User mailing list archive at Nabble.com. -- RT Training November 4