skip_create => \$skip_create );
if ( $ARGS{'QuickCreate'} ) {
+
+ ProcessAttachments(ARGSRef => \%ARGS);
+
my $QueueObj = RT::Queue->new($session{'CurrentUser'});
$QueueObj->Load($ARGS{Queue}) or Abort(loc("Queue could not be loaded."));
my $created;
if ( $ValidCFs && !$skip_create ) {
my ($t, $msg) = CreateTicket(
- Queue => $ARGS{'Queue'},
- Owner => $ARGS{'Owner'},
- Status => $ARGS{'Status'},
- # yes! it's Requestors, not Requestor
- Requestors => $ARGS{'Requestors'},
- Content => $ARGS{'Content'},
- Subject => $ARGS{'Subject'});
+ Queue => $ARGS{'Queue'},
+ Owner => $ARGS{'Owner'},
+ Status => $ARGS{'Status'},
+ # yes! it's Requestors, not Requestor
+ Requestors => $ARGS{'Requestors'},
+ Content => $ARGS{'Content'},
+ Subject => $ARGS{'Subject'},
+ Token => $ARGS{'Token'},
+ );
push @results, $msg;
if ( $t && $t->Id ) {