Hi all,
is there a way to dynamically set the filter time of the creation of a ticket when I create a report from the command line?
In other words, can I pass like parameter the interval date of creation that i would to use like filter?
Thanks,
Marco.
Dynamic filter otrs.GenerateStats.pl
Moderator: crythias
-
- Moderator
- Posts: 10170
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: Dynamic filter otrs.GenerateStats.pl
otrs.GenerateStats.pl -h
usage: otrs.GenerateStats.pl -n <StatNumber> [-p <PARAM_STRING>] [-o <DIRECTORY>] [-r <RECIPIENT> -r ... -s <SENDER>] [-m <MESSAGE>] [-l <LANGUAGE>] [-f CSV|Print] [-S <SEPARATOR>] [-F <FILENAME> [-R]
<PARAM_STRING> e. g. 'Year=1977&Month=10' (only for static files)
<DIRECTORY> /output/dir/
Summary: you might be able to pass
-p DynamicField_myField=myValue
or ... what filter time do you want? what field would the criteria apply to?
usage: otrs.GenerateStats.pl -n <StatNumber> [-p <PARAM_STRING>] [-o <DIRECTORY>] [-r <RECIPIENT> -r ... -s <SENDER>] [-m <MESSAGE>] [-l <LANGUAGE>] [-f CSV|Print] [-S <SEPARATOR>] [-F <FILENAME> [-R]
<PARAM_STRING> e. g. 'Year=1977&Month=10' (only for static files)
<DIRECTORY> /output/dir/
Summary: you might be able to pass
-p DynamicField_myField=myValue
or ... what filter time do you want? what field would the criteria apply to?
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Re: Dynamic filter otrs.GenerateStats.pl
I would like to filter out the creation time of the ticket between 2 dates, for example: between 01-Jan-2014 to 01-Feb-2014.