Matt, thank you very much.
VALUE => [‘Create’,‘Correspond’,‘Comment’,‘Forward Ticket’],
It works and I know, how to add more!
And touching the DB was only to check, whether the space in the name was really the only problem. It was, and I reverted to original “out of the box” setting.
Many thanx again.
Have a nice day, Piotr
Tel. +48 881 448 713From: Matt Zagrabelny [mailto:firstname.lastname@example.org]
Sent: Tuesday, August 11, 2015 2:40 PM
To: Piotr Mańturzyk (NooxTechnologies) email@example.com
Cc: rt-users firstname.lastname@example.org
Subject: Re: [rt-users] Forward ticket with complete history and attachments (refresh)
I’m close to the solution.
The most important thing is to include comments:
file ~/rt4/lib/RT/Action/SendForward.pm line 97:
VALUE => [qw(Create Correspond Comment)],
To make RT also to forward Forward transactions (while forwarding you
can add message too), you need
VALUE => [qw(Create Correspond Comment Forward Ticket)],
The problem is that the name of this transactions contain space and is
treated as two separate transactions types (i.e. Forward and Ticket).
This trick below does not work:
VALUE => [qw(Create Correspond Comment “Forward\ Ticket”)],
If your array has spaces in the items, then the perl function qw isn’t what you want. Just use a list:
VALUE => [
or you could intermix qw into the list, but that is unsightly:
VALUE => [
qw(Create Correspond Comment),
I renamed the transaction type in the database and it works as expected.
I wouldn’t do that. Touching the DB seems to be the wrong approach.