Re: [rt-users] Scrip for adding to the custom field based on another CF

2015-01-21 Thread Kevin Squire
Such an elegant solution - thank you. > This can be done with one ternary operator: > my $value = $self->TicketObj->FirstCustomFieldValue('RMA Type') eq > 'Student Withdrawl' ? "RMA-" . $Num : "RMA-" . $Num . $Append; > > Some notes: > - The condition here is: $self->TicketObj->FirstCustomFieldV

[rt-users] Migrating from MySql to Oracle

2015-01-21 Thread Hummer, Greg
Hi, I work at a support desk currently using RT 4.0.6 on a MySQL server and we need to switch to RT 4.2.0 on a Oracle Server for fulltext search among other thing. The database administrators are not very familiar with RT, but they have successfully upgraded 4.0.6 MySQL to 4.2.0 MySQL on a test

Re: [rt-users] Scrip for adding to the custom field based on another CF

2015-01-21 Thread Alex Peters
Sorry, yes, that one. There are some "preview" operations that run the prepare code on the assumption that nothing will change. In such circumstances, your custom field would be set even before someone hits the "Update" button. It's always best not to have the Prepare code make any changes. The

Re: [rt-users] Scrip for adding to the custom field based on another CF

2015-01-21 Thread Kevin Squire
I was not aware of this. When you say "Commit box", are you referring to the "Custom action cleanup code" box? On Wed, 21 Jan 2015 21:35:47 + Alex Peters wrote: > You should move your scrip code from the Prepare box to the Commit > box. Making changes to tickets in the Prepare stage of

Re: [rt-users] Scrip for adding to the custom field based on another CF

2015-01-21 Thread Alex Peters
You should move your scrip code from the Prepare box to the Commit box. Making changes to tickets in the Prepare stage of a transaction can cause unintended side effects and is not recommended. On Thu, 22 Jan 2015 2:07 am Kevin Squire wrote: > > I have a scrip currently that checks for status ch

Re: [rt-users] Postfix can not send email

2015-01-21 Thread Alex Peters
What do RT's debug logs show when an email is generated? On Thu, 22 Jan 2015 2:39 am leandro.gs wrote: > Hey! I have seen a lot of questions about this, but none of the answers > helped me with this issue. Here's the problem, I have an external dedicated > email server and I'm using fetchmail to

Re: [rt-users] Assets - export or show list with custom fields

2015-01-21 Thread Alex Vandiver
On Wed, 21 Jan 2015 12:11:57 -0500 Ryan Whalen wrote: > Hello, > > Is there a way to export the assets in a catalog to a csv file? Assets 1.01 added a CSV export. > If not, is there a way to display specified custom fields in the > search results? Or see a list of assets with more information t

Re: [rt-users] T-Extension-CustomField-HideEmptyValues does not work with mobile theme

2015-01-21 Thread Alex Vandiver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, 21 Jan 2015 09:22:23 + Daniel Schwager wrote: > your plugin (1) does not work with RT 4.2.9 and mobile theme (from my > android). All fields will be shown. The right place to report bugs in the extension, as the page you linked explains,

Re: [rt-users] Scrip for adding to the custom field based on another CF

2015-01-21 Thread Landon Stewart
On Jan 21, 2015, at 7:07 AM, Kevin Squire wrote: > > > I have a scrip currently that checks for status change from X--> Y and if > true, adds an entry to the Custom Field "RMA Num". It adds our RMA number, > which is really just "RMA-$RT_Ticket_Number" > > They have asked me to change the nu

[rt-users] Assets - export or show list with custom fields

2015-01-21 Thread Ryan Whalen
Hello, Is there a way to export the assets in a catalog to a csv file? If not, is there a way to display specified custom fields in the search results? Or see a list of assets with more information than Name, Description, Status, and Owner? I didn't see an assets-specific mailing list, please let

[rt-users] Postfix can not send email

2015-01-21 Thread leandro.gs
Hey! I have seen a lot of questions about this, but none of the answers helped me with this issue. Here's the problem, I have an external dedicated email server and I'm using fetchmail to get this emails so RT can proccess it. RT can send email notifications to the users and I'm trying to do so usi

[rt-users] Scrip for adding to the custom field based on another CF

2015-01-21 Thread Kevin Squire
I have a scrip currently that checks for status change from X--> Y and if true, adds an entry to the Custom Field "RMA Num". It adds our RMA number, which is really just "RMA-$RT_Ticket_Number" They have asked me to change the number based on another CF "RMA TYPE". If the RMA type = "Student Wit

[rt-users] T-Extension-CustomField-HideEmptyValues does not work with mobile theme

2015-01-21 Thread Daniel Schwager
Hi Alex, your plugin (1) does not work with RT 4.2.9 and mobile theme (from my android). All fields will be shown. regards Danny (1) RT-Extension-CustomField-HideEmptyValues-1.00 - http://search.cpan.org/~alexmv/RT-Extension-CustomField-HideEmptyValues-1.00/ smime.p7s Description: S/MIM