NAME

RT::Extension::QuickCalls - Quickly create tickets in specific queues with default values

SYNOPSIS

You will need to enable the new QuickCalls portlet with a line like this in your RT_SiteConfig.pm file:

Set($HomepageComponents, [qw(QuickCreate Quicksearch MyAdminQueues MySupportQueues MyReminders
                             RefreshHomepage QuickCalls)]);

This is the default portlet list with QuickCalls added to the end People can then choose to add the portlet to their homepage in Preferences -> RT at a glance

To set up your Quick Calls, you will want to specify a Name and a Queue in the config file. The Name will become the Subject of the task unless you specify a Subject option. You can add other Ticket options as needed, such as Status. Additionally, if the SetOwnerToCurrentUser option is set, the ticket will be owned by the current user.

Set($QuickCalls,[{Name => "Foo", Queue => 'General', Status => 'resolved'},
                 {Name => "Bar", Queue => 'Queue2',  Status => 'resolved'}]);

If a value is an anonymous subref, it will be called when the QuickCall is selected, and its return value filled in for the appropriate key:

Set($QuickCalls,[ {
   Queue   => 'General',
   Name    => 'This will have the current time on the server in its content',
   Content => sub {
      my $date = localtime;
      return "When: $date\n\n";
   },
}]);

After you have added QuickCalls to your home page, you will be able to select one, click Create and be brought to the ticket creation page with multiple fields pre-filled.

INSTALLATION

perl Makefile.PL
make
make install

May need root permissions

Edit your /opt/rt4/etc/RT_SiteConfig.pm

If you are using RT 4.2 or greater, add this line:

Plugin('RT::Extension::QuickCalls');

For RT 4.0, add this line:

Set(@Plugins, qw(RT::Extension::QuickCalls));

or add RT::Extension::QuickCalls to your existing @Plugins line.

Clear your mason cache
rm -rf /opt/rt4/var/mason_data/obj
Restart your webserver

AUTHOR

Best Practical Solutions, LLC <modules@bestpractical.com>

BUGS

All bugs should be reported via email to

L<bug-RT-Extension-QuickCalls@rt.cpan.org|mailto:bug-RT-Extension-QuickCalls@rt.cpan.org>

or via the web at

L<rt.cpan.org|http://rt.cpan.org/Public/Dist/Display.html?Name=RT-Extension-QuickCalls>.

LICENSE AND COPYRIGHT

This software is Copyright (c) 2014 by Best Practical Solutions

This is free software, licensed under:

The GNU General Public License, Version 2, June 1991