[freeside-commits] freeside/rt/lib/RT/Action CreateTickets.pm, 1.1.1.9, 1.2
Mark Wells
mark at wavetail.420.am
Wed Nov 17 12:44:13 PST 2010
- Previous message: [freeside-commits] freeside/rt/lib/RT Action.pm, 1.1.1.1, 1.2 Condition.pm, 1.1.1.1, 1.2 Scrip_Overlay.pm, 1.1.1.11, 1.2
- Next message: [freeside-commits] freeside/rt/share/html/Admin/Elements EditScrip, 1.1.1.2, 1.2 EditScripOptions, NONE, 1.1 SelectScripAction, 1.1.1.1, 1.2 SelectScripCondition, 1.1.1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /home/cvs/cvsroot/freeside/rt/lib/RT/Action
In directory wavetail.420.am:/tmp/cvs-serv20693/lib/RT/Action
Modified Files:
CreateTickets.pm
Log Message:
create ticket on custom field change, RT#10139
Index: CreateTickets.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/rt/lib/RT/Action/CreateTickets.pm,v
retrieving revision 1.1.1.9
retrieving revision 1.2
diff -u -w -d -r1.1.1.9 -r1.2
--- CreateTickets.pm 31 Dec 2009 13:10:31 -0000 1.1.1.9
+++ CreateTickets.pm 17 Nov 2010 20:44:11 -0000 1.2
@@ -762,6 +762,7 @@
FinalPriority => $args{'finalpriority'} || 0,
SquelchMailTo => $args{'squelchmailto'},
Type => $args{'type'},
+ $self->Rules
);
if ( $args{content} ) {
@@ -1238,6 +1239,24 @@
}
+sub Options {
+ my $self = shift;
+ my $queues = RT::Queues->new($self->CurrentUser);
+ $queues->UnLimit;
+ my @names;
+ while (my $queue = $queues->Next) {
+ push @names, $queue->Id, $queue->Name;
+ }
+ return (
+ {
+ 'name' => 'Queue',
+ 'label' => 'In queue',
+ 'type' => 'select',
+ 'options' => \@names
+ }
+ )
+}
+
eval "require RT::Action::CreateTickets_Vendor";
die $@ if ( $@ && $@ !~ qr{^Can't locate RT/Action/CreateTickets_Vendor.pm} );
eval "require RT::Action::CreateTickets_Local";
- Previous message: [freeside-commits] freeside/rt/lib/RT Action.pm, 1.1.1.1, 1.2 Condition.pm, 1.1.1.1, 1.2 Scrip_Overlay.pm, 1.1.1.11, 1.2
- Next message: [freeside-commits] freeside/rt/share/html/Admin/Elements EditScrip, 1.1.1.2, 1.2 EditScripOptions, NONE, 1.1 SelectScripAction, 1.1.1.1, 1.2 SelectScripCondition, 1.1.1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the freeside-commits
mailing list