On Wed, Jul 27, 2011 at 11:59 AM, Bart wrote:
>
> I've finished the scrip with my initial purpose, which was to set the ticket
> type (incident, problem or change) along with the priority (1 to 5) and
> based on those two values set the SLA field (from the SLA plugin/addon).
> The result is listed
Hi,
I've finished the scrip with my initial purpose, which was to set the ticket
type (incident, problem or change) along with the priority (1 to 5) and
based on those two values set the SLA field (from the SLA plugin/addon).
The result is listed below, this basically does the following:
- CF
Hi Kevin,
Thanks for your reply, that turned out to be toe golden tip :D
I was getting those messages in the Web UI and after changing the type to
transaction batch it worked :D
So to summarize, here's the end result that worked perfectly for me:
- Condition: On Transaction
- Action: User
On Tue, Jul 26, 2011 at 02:40:21PM +0200, Bart wrote:
>The first problem I have is that the SLA is already set to the value
> "Normal", I see the scrip
>running but it keeps saying "Set SLA Low to Normal" or similar for Urgent
> (normal is ignored).
>So I get a feeling it does somethi
;
>
>
> *Bart *
> Envoyé par : rt-users-boun...@lists.bestpractical.com
>
> 26/07/2011 14:41
> A
> rt-users@lists.bestpractical.com
> cc
> Objet
> Re: [rt-users] Problem with making a custom scrip
>
>
>
>
> Hi Robert,
>
> Thanks for the reply
etObj->AddCustomFieldValue(Field => 'SLA', Value => 'Urgent');
}
Raphaël MOUNEYRES
Bart
Envoyé par : rt-users-boun...@lists.bestpractical.com
26/07/2011 14:41
A
rt-users@lists.bestpractical.com
cc
Objet
Re: [rt-users] Problem with making a custom scrip
Hi Ro
Hi Robert,
Thanks for the reply, I've changed that setting but it doesn't seem to fully
solve my problem (I do notice a difference).
I've modified the scrip a little, it now looks like this:
my $my_type = $self->TicketObj->FirstCustomFieldValue('Type');
> if ($my_type =~ /^I/) { $self->TicketObj
Dnia 2011-07-26, wto o godzinie 10:22 +0200, Bart pisze:
(...)
> my $my_type = $self->TicketObj->CustomFieldValues('Type');
Use $self->TicketObj->FirstCustomFieldValue('Type') instead.
Regards,
--
Robert Wysocki
CONTIUM S.A., http://www.contium.pl
2011 Training: http://bestpr
Hi,
I'm currently working on making a scrip for RT4 which should eventually
allow us to do the following:
- User fills in the CF ticket type: Incident, Problem or Change.
- User fills in the CF priority: 1, 2, 3 or 4. (in this setup we chose to
make this a CF so that we can restrict the