Custom field value in an email

I am getting transaction emails on RT is it possible to get the custom field
value on that ticket and modify the transaction email to include the custom
field value? Here is the example email:

Wed Feb 22 10:36:16 2012: Request 166 was acted upon.
Transaction: Status changed from ‘open’ to ‘resolved’ by user1
Queue: Bicycle
Owner: user1
Requestors: user1@gooble.com
Status: resolved
Custom Field: Value here

Anyhelp would be appreciated thank you.
View this message in context: http://old.nabble.com/Re%3A-Custom-field-value-in-an-email-tp33377770p33377770.html

I am getting transaction emails on RT is it possible to get the custom field
value on that ticket and modify the transaction email to include the custom
field value? Here is the example email:

Wed Feb 22 10:36:16 2012: Request 166 was acted upon.
Transaction: Status changed from ‘open’ to ‘resolved’ by user1
Queue: Bicycle
Subject: Tires is not working
Owner: user1
Requestors: user1@gooble.com
Status: resolved
Custom Field: Value here

You can read more about customizing Templates here
http://requesttracker.wikia.com/wiki/Customizing
You’ll need to add a Custom Field: and a call to
$self->TicketObj->FirstCustomFieldValue in there. Keep in mind that the template you’re
quoting is used by several different scrips, so your change may affect
multiple types emails.

-kevin

Dear Mr. Kevin,

Thanks for pointing me in a right direction, I have enabled the
RT::Extension::ExtractCustomFieldValues using cpan and added this line
Set( @Plugins,‘RT::Extension::ExtractCustomFieldValues’);
to my RT_Siteconfig.pm , I checked also in my RT system configuration that
RT::Extension::ExtractCustomFieldValues is enabled.

However, when I am creating a new script based on this guideline
http://requesttracker.wikia.com/wiki/ExtractCustomFieldValues , the Action:
Extract Custom Field Values is not on the select option list.

How do I know If I have installed the
RT::Extension::ExtractCustomFieldValues and enabled it properly?
It might be an installation issue, otherwise kindly correct me if I am
wrong.

Thank you very much, really appreciate it.

Kevin Falcone-2 wrote:

I am getting transaction emails on RT is it possible to get the custom
field
value on that ticket and modify the transaction email to include the
custom
field value? Here is the example email:

Wed Feb 22 10:36:16 2012: Request 166 was acted upon.
Transaction: Status changed from ‘open’ to ‘resolved’ by user1
Queue: Bicycle
Subject: Tires is not working
Owner: user1
Requestors: user1@gooble.com
Status: resolved
Custom Field: Value here

You can read more about customizing Templates here
http://requesttracker.wikia.com/wiki/Customizing
You’ll need to add a Custom Field: and a call to
$self->TicketObj->FirstCustomFieldValue in there. Keep in mind that the
template you’re
quoting is used by several different scrips, so your change may affect
multiple types emails.

-kevin


RT Training Sessions (http://bestpractical.com/services/training.html)

  • Boston — March 5 & 6, 2012

View this message in context: http://old.nabble.com/Re%3A-Custom-field-value-in-an-email-tp33377770p33411857.html

However, when I am creating a new script based on this guideline
http://requesttracker.wikia.com/wiki/ExtractCustomFieldValues , the Action:
Extract Custom Field Values is not on the select option list.

How do I know If I have installed the
RT::Extension::ExtractCustomFieldValues and enabled it properly?
It might be an installation issue, otherwise kindly correct me if I am
wrong.

You didn’t read the README that ExtractCustomFieldValues ships with.
Please read it. You missed the make initdb step for first time installs.

Thomas

Dear Mr. Thomas,

Thanks, after doing the make initdb I had it enabled on the select list, I
will try extracting the custom field value and post the result here.

Thomas Sibley wrote:

However, when I am creating a new script based on this guideline
http://requesttracker.wikia.com/wiki/ExtractCustomFieldValues , the
Action:
Extract Custom Field Values is not on the select option list.

How do I know If I have installed the
RT::Extension::ExtractCustomFieldValues and enabled it properly?
It might be an installation issue, otherwise kindly correct me if I am
wrong.

You didn’t read the README that ExtractCustomFieldValues ships with.
Please read it. You missed the make initdb step for first time installs.

Thomas

RT Training Sessions (http://bestpractical.com/services/training.html)

  • Boston March 5 & 6, 2012

View this message in context: http://old.nabble.com/Re%3A-Custom-field-value-in-an-email-tp33377770p33418889.html