-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME
108 lines (73 loc) · 2.95 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
NAME
RT::Extension::StallFutureTicket - Stall a new ticket automatically when
start time is set to a future date
DESCRIPTION
This RT Extension allows to automatically stall created tickets with a
start time in the future.
INSTALLATION
This extension based on the following modules:
RT >= 4.0.0
Date::Manip >= 6.25
To install this extension, run the following commands:
perl Makefile.PL
make
make test
make install
CONFIGURATION
RT SITE CONFIGURATION
To enable this extension edit the RT site configuration located in
"$RT_HOME/etc/RT_SiteConfig.pm" (where $RT_HOME is the path to your RT
installation):
Set(@Plugins,qw(RT::Extension::StallFutureTicket));
You must allow to set new tickets to "stalled":
Set(%Lifecycles,
default => {
[...]
transitions => {
'' => [qw(new open resolved stalled)],
[...]
}
[...]
}
);
This is just an abbreviation taken from RT's main configuration file
under "$RT_HOME/etc/RT_Config.pm". Note the added "stalled".
To overwrite "Date::Manip"'s default configuration you may set the
following:
Set(%DateManipConfig, (
'WorkDayBeg', '9:00',
'WorkDayEnd', '17:00',
#'WorkDay24Hr', '0',
#'WorkWeekBeg', '1',
#'WorkWeekEnd', '7'
));
You can find more information about the configurable parameters under
<http://search.cpan.org/dist/Date-Manip/lib/Date/Manip/Config.pod#BUSINE
SS_CONFIGURATION_VARIABLES>.
After all your new configuration will take effect after restarting your
RT environment:
rm -rf $RT_HOME/var/mason_data/obj/* && service apache2 restart
This is an example for deleting the mason cache and restarting the
Apache HTTP web server on a Debian GNU/Linux based operating system.
AUTHOR
Benjamin Heisig, <bheisig@synetics.de>
SUPPORT AND DOCUMENTATION
You can find documentation for this module with the "perldoc" command.
perldoc RT::Extension::StallFutureTicket
You can also look for information at:
* Search CPAN
<http://search.cpan.org/dist/RT-Extension-StallFutureTicket/>
* RT: CPAN's request tracker
<http://rt.cpan.org/NoAuth/Bugs.html?Dist=RT-Extension-StallFutureTi
cket>
* AnnoCPAN: Annotated CPAN documentation
<http://annocpan.org/dist/RT-Extension-StallFutureTicket>
* CPAN Ratings
<http://cpanratings.perl.org/d/RT-Extension-StallFutureTicket>
BUGS
Please report any bugs or feature requests to the author.
COPYRIGHT AND LICENSE
Copyright 2011 synetics GmbH, <http://i-doit.org/>
This program is free software; you can redistribute it and/or modify it
under the same terms as Perl itself.
Request Tracker (RT) is Copyright Best Practical Solutions, LLC.