I have a user who would like the subject to be a drop down list of choices. I
have not seen how to do this, so I have decided to create a custom field of
a drop down list of choices, and if the subject is blank, move this custom
field choice into the subject. I am not being successful. I have 2
questions:

1. Can I make the subject a drop down list for one queue,  rather than an
type in field?
2. If not, does anyone see anything wrong with my code:

here is the custom preparation code:
return 0 unless (!$self->TicketObj->Subject);
return 1;

and here is the custom cleanup code:
# move the contents of the custom field into the subject
# the name of my custom field is Choose subject here
my $subject =
$self->TicketObj->FirstCustomFieldValue('Choose_subject_here');

$self->TicketObj->Subject=$subject;
return 1;

###################################
Does the name of the field, since it has spaces, have to include
underscores? I did it that way, and for testing purposes, even chose a
custom field of one word to eliminate the question.

Thanks,
Laura

-- 
View this message in context: 
http://www.nabble.com/Assign-custom-field-to-subject-tp16304462p16304462.html
Sent from the Request Tracker - User mailing list archive at Nabble.com.

_______________________________________________
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com

Reply via email to