[rt-users] running scrip multible times

2014-11-04 Thread Eierschmalz, Bernhard
Hello, is it possible to run a scrip multiple times? in my case I want to do something like this: condition: is some regex-pattern inside of the subject action: change something and remove this pattern from subject if this pattern basically is in the subject more than once, the scrip should

Re: [rt-users] How to move an existing database to a new server

2014-11-04 Thread Vas
Thank you for the input Kevin. Is there an installation guide for RT 4.2.9 with a LTS Ubuntu? So far I have only found a 4.2 with Ubuntu 13.10 which is not supported anymore. http://binarynature.blogspot.co.uk/2013/10/install-request-tracker-4-on-ubuntu-server.html And with a LTS Ubuntu on 4.0.4

[rt-users] rt asterisk

2014-11-04 Thread Shahab Sharifzadeh
hi good time i want to join rt(request tracker) to asterisk by rt-soap-server.pl. but i dont no what to do... 1- i installed- SOAP::Lite and MIME::Entity 2-after that ,how I run ./rt-soap-server.pl ? And how configure? -- RT Training November 4 5 Los Angeles http://bestpractical.com/training

Re: [rt-users] rt asterisk

2014-11-04 Thread Emmanuel Lacour
On Tue, Nov 04, 2014 at 02:55:43AM -0800, Shahab Sharifzadeh wrote: hi good time i want to join rt(request tracker) to asterisk by rt-soap-server.pl. but i dont no what to do... 1- i installed- SOAP::Lite and MIME::Entity 2-after that ,how I run ./rt-soap-server.pl ? And how configure?

[rt-users] create a ticket with attach by command

2014-11-04 Thread Shahab Sharifzadeh
Hi I want to in rt ، create a ticket with attach by command...(cli) Is it doable? How do I proceed? rt create -t ticket set subject='New ticket'... Plz help me... -- RT Training November 4 5 Los Angeles http://bestpractical.com/training

Re: [rt-users] rt asterisk

2014-11-04 Thread Stefan Hornburg (Racke)
On 11/04/2014 11:55 AM, Shahab Sharifzadeh wrote: hi good time i want to join rt(request tracker) to asterisk by rt-soap-server.pl. but i dont no what to do... 1- i installed- SOAP::Lite and MIME::Entity 2-after that ,how I run ./rt-soap-server.pl ? And how configure? I recommend to

[rt-users] Getting names/values for all custom fields attached to a ticket

2014-11-04 Thread Chris Down
Hello, In the Perl API, how do I get the names/values of all custom fields attached to a ticket? I looked at the documentation, but I only see ways to check for custom fields globally, not how to get a list of all the custom fields that apply to a single ticket. I am using 3.8. Thanks!

Re: [rt-users] Getting names/values for all custom fields attached to a ticket

2014-11-04 Thread Emmanuel Lacour
On Tue, Nov 04, 2014 at 02:42:57PM +, Chris Down wrote: Hello, In the Perl API, how do I get the names/values of all custom fields attached to a ticket? I looked at the documentation, but I only see ways to check for custom fields globally, not how to get a list of all the custom fields

Re: [rt-users] Getting names/values for all custom fields attached to a ticket

2014-11-04 Thread Chris Down
Hi Emmanuel, Thanks for your great reply! Emmanuel Lacour writes: my $CustomFields = $Ticket-CustomFields; This works, but I don't see it documented here[0]. Is that expected? [0]: https://www.bestpractical.com/docs/rt/3.8/RT/Ticket.html while (my $CustomField = $CustomFields-Next) {

Re: [rt-users] Getting names/values for all custom fields attached to a ticket

2014-11-04 Thread Chris Down
I think I eventually found what I want[0]: $ticket-CustomFieldValuesAsString($custom_field_name); However, on my version of RT this says: RT::Ticket::CustomFieldValuesAsString Unimplemented in main. (rt-dump.pl line 91) Any ideas? :-) 0:

Re: [rt-users] Getting names/values for all custom fields attached to a ticket

2014-11-04 Thread Emmanuel Lacour
On Tue, Nov 04, 2014 at 03:44:55PM +, Chris Down wrote: I think I eventually found what I want[0]: $ticket-CustomFieldValuesAsString($custom_field_name); $ticket-FirstCustomFieldValue($custom_field_name); looks what you're lookign for ;) RT::Ticket is based on RT::Record, so you can

Re: [rt-users] Getting names/values for all custom fields attached to a ticket

2014-11-04 Thread Chris Down
Emmanuel Lacour writes: $ticket-FirstCustomFieldValue($custom_field_name); Dude, that totally works! Thanks so much for your help, I owe you one! pgpzWA9NU8ko8.pgp Description: PGP signature -- RT Training November 4 5 Los Angeles http://bestpractical.com/training

Re: [rt-users] rt asterisk

2014-11-04 Thread Shahab Sharifzadeh
Thanks... I want to create a ticket with attachment...(callervoice.gsm) But according to my search in web I can not use from Rest because when I create ticket, the attach file was not sent with them... This is important for me that gsm file be created with ticket... Pls help me... -- RT

Re: [rt-users] Contents of rt-users digest rt asterisk

2014-11-04 Thread Shahab Sharifzadeh
Thanks... I want to create a ticket with attachment...(callervoice.gsm) But according to my search in web I can not use from Rest because when I create ticket, the attach file was not sent with them... This is important for me that gsm file be created with ticket... Pls help me...-- RT

Re: [rt-users] Any way to turn subscription email into a .html document?

2014-11-04 Thread Duncan Napier
- Original Message - I have created some RT Subscriptions, but I was wondering if there is an easy way to convert the subscription content into a HTML document? The emailed subscription appears as a very nicely formatted HTML/ajax email in my Zimbra mail system, but I would prefer

Re: [rt-users] Any way to turn subscription email into a .html document?

2014-11-04 Thread Christian Loos
Am 04.11.2014 um 22:49 schrieb Duncan Napier: - Original Message - I have created some RT Subscriptions, but I was wondering if there is an easy way to convert the subscription content into a HTML document? The emailed subscription appears as a very nicely formatted HTML/ajax email