Auto linking to URI on ticket creation

Hi, I’m new to RT and I could use some help if possible.
I already have sent this to the users list but don’t know if it was the right place.

I’m trying to add a reference to a URI on creation of the tickets.
I’m interested to do this only to tickets that are created from emails sent by users.

I am using postfix as my MTA.

in /etc/aliases I have :
rt: “|/opt/rt3/bin/rt-mailgate --queue General --action correspond --url http://mydomain.com

can I also add under this something like :
rt: “|/opt/rt3/lib/RT/somemodule(I’m assuming Links.pm or Links_Overlay.pm) --queue General --action correspond --url http://mydomain.com

with some attributes to create this reference to the URI I need? If yes can anyone give me some tips in how to do this?

Kind Regards
Nik

I have figured out a more convenient way to add the URI links to the tickets.
I am using the bin/rt tool to edit the tickets.

/opt/rt3/bin/rt edit ticket/$tn/links add refersto=“The URI Link”

Thanks
Nik----- Original Message -----
From: “Nikolas Chrysandreas” n.chrysandreas@albourne.com
To: rt-devel@lists.bestpractical.com
Sent: Thursday, 18 June, 2009 11:37:42 GMT +02:00 Athens, Beirut, Bucharest, Istanbul
Subject: [Rt-devel] Auto linking to URI on ticket creation

Hi, I’m new to RT and I could use some help if possible.
I already have sent this to the users list but don’t know if it was the right place.

I’m trying to add a reference to a URI on creation of the tickets.
I’m interested to do this only to tickets that are created from emails sent by users.

I am using postfix as my MTA.

in /etc/aliases I have :
rt: “|/opt/rt3/bin/rt-mailgate --queue General --action correspond --url http://mydomain.com

can I also add under this something like :
rt: “|/opt/rt3/lib/RT/somemodule(I’m assuming Links.pm or Links_Overlay.pm) --queue General --action correspond --url http://mydomain.com

with some attributes to create this reference to the URI I need? If yes can anyone give me some tips in how to do this?

Kind Regards
Nik
List info: The rt-devel Archives

You can use scrips for that as well.On Wed, Jun 24, 2009 at 11:00 AM, Nikolas Chrysandreasn.chrysandreas@albourne.com wrote:

I have figured out a more convenient way to add the URI links to the tickets.
I am using the bin/rt tool to edit the tickets.

/opt/rt3/bin/rt edit ticket/$tn/links add refersto=“The URI Link”

Thanks
Nik

----- Original Message -----
From: “Nikolas Chrysandreas” n.chrysandreas@albourne.com
To: rt-devel@lists.bestpractical.com
Sent: Thursday, 18 June, 2009 11:37:42 GMT +02:00 Athens, Beirut, Bucharest, Istanbul
Subject: [Rt-devel] Auto linking to URI on ticket creation

Hi, I’m new to RT and I could use some help if possible.
I already have sent this to the users list but don’t know if it was the right place.

I’m trying to add a reference to a URI on creation of the tickets.
I’m interested to do this only to tickets that are created from emails sent by users.

I am using postfix as my MTA.

in /etc/aliases I have :
rt: “|/opt/rt3/bin/rt-mailgate --queue General --action correspond --url http://mydomain.com

can I also add under this something like :
rt: “|/opt/rt3/lib/RT/somemodule(I’m assuming Links.pm or Links_Overlay.pm) --queue General --action correspond --url http://mydomain.com

with some attributes to create this reference to the URI I need? If yes can anyone give me some tips in how to do this?

Kind Regards
Nik


List info: The rt-devel Archives


List info: The rt-devel Archives

Best regards, Ruslan.