Ticket state not changing

Moderator: crythias

Locked
pantered
Znuny newbie
Posts: 30
Joined: 24 Apr 2013, 17:49
Znuny Version: 3.1.3
Location: Puerto Rico
Contact:

Ticket state not changing

Post by pantered »

Hello,

I tried many things includding Google and i can't find the reason why my tickets state function are not working properly.
When a new ticket is created, you see its state as new but when you assigne the ticket it does not change to open.
When you close the ticket it changes fine to closed.

I need them to change from new to open automatically

Any help is welcome

Thanks
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Ticket state not changing

Post by crythias »

Tickets change from New to Open when the customer is contacted through the ticketing system.
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
pantered
Znuny newbie
Posts: 30
Joined: 24 Apr 2013, 17:49
Znuny Version: 3.1.3
Location: Puerto Rico
Contact:

Re: Ticket state not changing

Post by pantered »

I see the option of "New Ticket State" but is to do it manually, i need it to be automatically.
Is possible to set the ticket state change on owner update, to be automatically also?
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Ticket state not changing

Post by crythias »

Just set incoming tickets as open within SysConfig.
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
pantered
Znuny newbie
Posts: 30
Joined: 24 Apr 2013, 17:49
Znuny Version: 3.1.3
Location: Puerto Rico
Contact:

Re: Ticket state not changing

Post by pantered »

I just fixed with a cron job!

Settings:
Automatic Excecution (this is for multiple tickets but i just configured it just in case)
SCHEDULE MINUTES = 00
SCHEDULE HOURS = 00
SCHEDULE DAYS = all
Event based execution
Event triggers = Type - Ticket | Event = TicketOwnerUpdate
Ticket Filter
State = new
Ticket action
State = open

This are the setting that just worked for me.
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Ticket state not changing

Post by jojo »

just switch on Ticket::EventModulePost###130-ForceStateChangeOnLock
"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
Giulio Soleni
Znuny wizard
Posts: 392
Joined: 30 Dec 2010, 14:35
Znuny Version: 6.0.x and 5.0.x
Real Name: Giulio Soleni
Company: IKS srl

Re: Ticket state not changing

Post by Giulio Soleni »

Hi,
are you sure you really need to automatically change all the incoming ticket states from new to open without providing any reply to your customers?
I think you might incur in some inconsistencies or anomalies ... expecially talking about SLAs on 1st response.
OTRS 6.0.x on CentOS 7.x with MariaDB 10.2.x database connected to an Active Directory for Agents and Customers.
ITSM and FAQ modules installed.
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Ticket state not changing

Post by jojo »

this has no effect on the 1st response time (as it is just a state change)
"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
pantered
Znuny newbie
Posts: 30
Joined: 24 Apr 2013, 17:49
Znuny Version: 3.1.3
Location: Puerto Rico
Contact:

Re: Ticket state not changing

Post by pantered »

jojo wrote:just switch on Ticket::EventModulePost###130-ForceStateChangeOnLock
jojo i tried this in two versions of otrs and did not worked.

As you said
jojo wrote:this has no effect on the 1st response time (as it is just a state change)
Now it works like i want

Thanks u all
Locked