How to import / export dynamic field in OTRS
-
- Znuny newbie
- Posts: 94
- Joined: 24 Oct 2013, 11:24
- Znuny Version: 3.1.1
- Real Name: William
- Company: Xchanging
How to import / export dynamic field in OTRS
How to import / export dynamic field in OTRS ??
Thanks,
William
Thanks,
William
-
- Znuny guru
- Posts: 5018
- Joined: 13 Mar 2011, 09:54
- Znuny Version: 6.0.x
- Real Name: Renée Bäcker
- Company: Perl-Services.de
- Contact:
Re: How to import / export dynamic field in OTRS
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
-
- Znuny newbie
- Posts: 94
- Joined: 24 Oct 2013, 11:24
- Znuny Version: 3.1.1
- Real Name: William
- Company: Xchanging
Re: How to import / export dynamic field in OTRS
Hi,
Yeah. I just imported already into the OTRS using package Manager. Could you please advice me how to use it?
Thanks in advance!
William
Yeah. I just imported already into the OTRS using package Manager. Could you please advice me how to use it?
Thanks in advance!
William
-
- Znuny guru
- Posts: 5018
- Joined: 13 Mar 2011, 09:54
- Znuny Version: 6.0.x
- Real Name: Renée Bäcker
- Company: Perl-Services.de
- Contact:
Re: How to import / export dynamic field in OTRS
Currently this provides only a perl script that you can run on the command line:
ps.ImportExportDynamicFields.pl [-m <mode>] [-f <file> ] [fieldname1 fieldname2]
m mode export or import
f in export mode path to the file the export should be written to (optional)
in import mode path to the file that should be imported (mandatory)
fieldname# in export mode the names of the to be exported fields
Example:
perl bin/ps.ImportExportDynamicFields.pl -m export Test1 Test2
exports only the fields Test1 and Test2
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
-
- Znuny newbie
- Posts: 94
- Joined: 24 Oct 2013, 11:24
- Znuny Version: 3.1.1
- Real Name: William
- Company: Xchanging
Re: How to import / export dynamic field in OTRS
Ok. Thanks.
-
- Znuny expert
- Posts: 164
- Joined: 12 Feb 2016, 08:05
- Znuny Version: 5.0.0
- Real Name: ann
- Company: rghdinc
Re: How to import / export dynamic field in OTRS
Hi reneeb!reneeb wrote:Currently this provides only a perl script that you can run on the command line:
ps.ImportExportDynamicFields.pl [-m <mode>] [-f <file> ] [fieldname1 fieldname2]
m mode export or import
f in export mode path to the file the export should be written to (optional)
in import mode path to the file that should be imported (mandatory)
fieldname# in export mode the names of the to be exported fields
Example:
perl bin/ps.ImportExportDynamicFields.pl -m export Test1 Test2
exports only the fields Test1 and Test2
Is it still the same with otrs 5?
-
- Znuny guru
- Posts: 5018
- Joined: 13 Mar 2011, 09:54
- Znuny Version: 6.0.x
- Real Name: Renée Bäcker
- Company: Perl-Services.de
- Contact:
Re: How to import / export dynamic field in OTRS
No, it's and
Code: Select all
perl bin/otrs.Console.pl Maint::DynamicFields::Import
Code: Select all
perl bin/otrs.Console.pl Maint::DynamicFields::Export
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
-
- Znuny newbie
- Posts: 7
- Joined: 12 Mar 2018, 04:32
- Znuny Version: ITSM 6.4
- Real Name: Sophea OUK
- Company: BRED BANK CAMBODIA
Re: How to import / export dynamic field in OTRS
after command is executed, where it will go? how do i run import command on a new otrs server?reneeb wrote:reneeb
Thanks,
Sophea
-
- Znuny guru
- Posts: 5018
- Joined: 13 Mar 2011, 09:54
- Znuny Version: 6.0.x
- Real Name: Renée Bäcker
- Company: Perl-Services.de
- Contact:
Re: How to import / export dynamic field in OTRS
Run , copy the file /tmp/dynamic_fields.json to the new server (to the path /tmp/dynamic_fields.json) and run on the new server.
Code: Select all
perl bin/otrs.Console.pl Maint::DynamicFields::Export --file /tmp/dynamic_fields.json
Code: Select all
perl bin/otrs.Console.pl Maint::DynamicFields::Import --file /tmp/dynamic_fields.json
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
-
- Znuny newbie
- Posts: 7
- Joined: 12 Mar 2018, 04:32
- Znuny Version: ITSM 6.4
- Real Name: Sophea OUK
- Company: BRED BANK CAMBODIA
Re: How to import / export dynamic field in OTRS
Thank for quick reply but after i have installed unsuccessful the adonn importexportdynamicfields, when ever i view a ticket it always popup the message ready! and error .
Thanks
Thanks
You do not have the required permissions to view the files attached to this post.
-
- Znuny guru
- Posts: 5018
- Joined: 13 Mar 2011, 09:54
- Znuny Version: 6.0.x
- Real Name: Renée Bäcker
- Company: Perl-Services.de
- Contact:
Re: How to import / export dynamic field in OTRS
That module doesn't change anything in the ticket zoom. But you could deactivate the sysconfig option Frontend::Output::FilterElementPost###OutputFilterImportExportDynamicFields to remove all changes in the frontend...
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
-
- Znuny newbie
- Posts: 7
- Joined: 12 Mar 2018, 04:32
- Znuny Version: ITSM 6.4
- Real Name: Sophea OUK
- Company: BRED BANK CAMBODIA
Re: How to import / export dynamic field in OTRS
How do I export/import only some specific dynamicfield?reneeb wrote:Run, copy the file /tmp/dynamic_fields.json to the new server (to the path /tmp/dynamic_fields.json) and runCode: Select all
perl bin/otrs.Console.pl Maint::DynamicFields::Export --file /tmp/dynamic_fields.json
on the new server.Code: Select all
perl bin/otrs.Console.pl Maint::DynamicFields::Import --file /tmp/dynamic_fields.json
Example: export / import dynamicfield_01 02 03.
Regards,
Sophea