Make available Import / Export to a certain group of agents

Moderator: crythias

Locked
yuri0001
Znuny superhero
Posts: 630
Joined: 17 Mar 2011, 14:40
Znuny Version: 5.0.6
Real Name: Yuri Kolesnikov
Location: Russia

Make available Import / Export to a certain group of agents

Post by yuri0001 »

Good day!
1. Must make available the admin menu Import / Export to a certain group of agents. How can I do it?
2. Can I run the job saved in the section Import / Export on schedule? What do I need?
Best regards Yuri Kolesnikov
OTRS 5.0.14, ITSM 5.0.14
SUSE 13.2, MariaDB 10.0.22(productive)
OTRS 5.0.14, ITSM 5.0.14(test)
Wolfgangf
Znuny ninja
Posts: 1029
Joined: 13 Apr 2009, 12:26
Znuny Version: 6.0.13
Real Name: Wolfgang Fürtbauer
Company: PBS Logitek GmbH
Location: Pinsdorf

Re: Make available Import / Export to a certain group of age

Post by Wolfgangf »

2. Can I run the job saved in the section Import / Export on schedule? What do I need?
with a cronjob containing the import/export job:

Code: Select all

/opt/otrs/bin/ImportExport.pl -n <the_number> -a import -i <the_file_to_import>
Produktiv:
OTRS 6.0.13/ ITSM 6.0.13
OS: SUSE Linux (SLES 12, Leap), MySql 5.5.x, 5.6.x
Windows 2012 AD Integration (agents and customers), Nagios integration (incidents, CMDB), Survey, TimeAccounting
yuri0001
Znuny superhero
Posts: 630
Joined: 17 Mar 2011, 14:40
Znuny Version: 5.0.6
Real Name: Yuri Kolesnikov
Location: Russia

Re: Make available Import / Export to a certain group of age

Post by yuri0001 »

Wolfgangf wrote:
2. Can I run the job saved in the section Import / Export on schedule? What do I need?
with a cronjob containing the import/export job:

Code: Select all

/opt/otrs/bin/ImportExport.pl -n <the_number> -a import -i <the_file_to_import>
Thanks, Wolfgangf!
Two questions more!
1. I'm interesting in Export option, what is the format in this case?
2. What mean the <the_number> parameter in your job - number of lines in imported file?

Please, help
Best regards Yuri Kolesnikov
OTRS 5.0.14, ITSM 5.0.14
SUSE 13.2, MariaDB 10.0.22(productive)
OTRS 5.0.14, ITSM 5.0.14(test)
yuri0001
Znuny superhero
Posts: 630
Joined: 17 Mar 2011, 14:40
Znuny Version: 5.0.6
Real Name: Yuri Kolesnikov
Location: Russia

Re: Make available Import / Export to a certain group of age

Post by yuri0001 »

Answer for the 1-st my question.Make available Import / Export to a certain group of agents
1. Create a group "import"(or some else) and adds the required agents.
2. Edit Config Settings in Framework -> Frontend:: Admin:: ModuleRegistration
Add to Frontend:: Module # # # Admin group "import"in the Group section
Add to Frontend:: Module # # # AdminInit in the Group section, a group of "import"
3. Edit Config Settings in ImportExport -> Frontend:: Admin:: ModuleRegistration
Add to Frontend:: Module # # # AdminImportExport in the Group section, a group of "import".

The second question with option export Interested in still. :)
Best regards Yuri Kolesnikov
OTRS 5.0.14, ITSM 5.0.14
SUSE 13.2, MariaDB 10.0.22(productive)
OTRS 5.0.14, ITSM 5.0.14(test)
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Make available Import / Export to a certain group of age

Post by crythias »

chances are export would be csv (although semicolon separator by default.)
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
Locked