[rt-users] Getting a custom field value and setting the priority
Bass, Janet E.
janet.bass at nist.gov
Thu Sep 23 11:59:33 EDT 2010
It is working now, Thanks
I do program in Perl it is learning RT variables that is slowing me down. I
wish there was a cheat sheet or something like that.
Janet
On 9/23/10 11:45 AM, "Kevin Falcone" <falcone at bestpractical.com> wrote:
> On Thu, Sep 23, 2010 at 11:28:54AM -0400, Bass, Janet E. wrote:
>> Yes, It seemed like overkill and had a learning curve. I was hoping there
>> was an easy fix in my code.
>>
>>
>>>> $self->TicketObj->$SetPriority = $Priority;
>
> If you want to stay with your code, look at that line.
> There are at least 2 huge errors with it.
> SetPriority is a method not a variable and you don't assign to it, you
> pass it an argument.
>
> RT-Extension-PriorityAsString was written so that people who aren't
> perl programmers wouldn't have to write this scrip.
>
> -kevin
--
Janet Bass
Unix System Administration
Manufacturing Engineering Laboratory
304/Room 12
100 Bureau Dr
Mailstop 8203
Gaithersburg, MD 20899-8203
EMAIL: jbass at nist.gov
PHONE: 301-975-8425
More information about the rt-users
mailing list