We are working on a script to change the ticket status when run it. The problem is we change the ticket-ticket_state_id value, but the ticket status doesn't change. How can we change it?
Thanks.
[SOLVED] Script to change the ticket status
Moderator: crythias
[SOLVED] Script to change the ticket status
Last edited by dcorbera on 14 Aug 2013, 11:59, edited 1 time in total.
Using:
OTRS HELP DESK 3.3.5
OTRS ITSM 3.3.5
POSTGRES 8.3
OTRS HELP DESK 3.3.5
OTRS ITSM 3.3.5
POSTGRES 8.3
-
- 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: Script to change the ticket status
Did you clean the caches?
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
Re: Script to change the ticket status
use a webservice or the API to change the state. Don't work in Database directly
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com