OTRS state change

Moderator: crythias

Locked
klausneil
Znuny superhero
Posts: 682
Joined: 29 May 2012, 22:47
Znuny Version: 6.0.24
Real Name: Klaus Salazar
Location: Perú

OTRS state change

Post by klausneil »

Hi everyone, anybody know how change state of ticket autimatic, ej. a ticket of state open change after of 5 day to the state of pending and send a email to the customer and after 2 day change to the state close. thanks for the help.
Last edited by klausneil on 25 Nov 2012, 16:56, edited 1 time in total.
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: OTRS change state

Post by jojo »

via pending auto status type
"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
klausneil
Znuny superhero
Posts: 682
Joined: 29 May 2012, 22:47
Znuny Version: 6.0.24
Real Name: Klaus Salazar
Location: Perú

Re: OTRS state change

Post by klausneil »

thanks but could you be more detailed in your response, I've been looking at this part as pictured
GenericAgent-PendingTimes-Red.png
You do not have the required permissions to view the files attached to this post.
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: OTRS state change

Post by jojo »

use pending auto close + as state.
"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
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: OTRS state change

Post by crythias »

You probably never want to set an open ticket to automatically close, because what if you never addressed the ticket?

If you want to close the ticket in 2 days, Respond to the customer and set next state pending auto close successful, "This ticket has been addressed. If you don't respond in 2 days, it will automatically close."
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
klausneil
Znuny superhero
Posts: 682
Joined: 29 May 2012, 22:47
Znuny Version: 6.0.24
Real Name: Klaus Salazar
Location: Perú

Re: OTRS state change

Post by klausneil »

ok crythias but how I do for that of open change after of 5 days and pending and send a notification to customer and after 1 day change to close complete. do all this automatically

open-----5days----->pending-----1day----->close complete
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: OTRS state change

Post by crythias »

You can't. If you don't want to handle a ticket, don't keep it open until it expires. Just close it. Otherwise, the multiple reminders after certain amounts of time has already been discussed on this board.

I and jojo have explained multiple times how it should work -- change something with generic agent and use a Notification Event to trap the event and send the reminder.

If you need *two* pending reminders, don't ... just test with generic agent, have generic agent change something and send notification events.

Otherwise, just respond to the customer, "Hey, we're going to close the ticket within 5 days if you don't respond, it'll automatically close." With a next state pending autoclose +.

There's no real reason (in my opinion) to *remind* a customer to open the ticket again. The last thing that should be done is "Dear customer, the ticket is now closed." If they've taken 5 days to respond, it's probably not that important to the customer, why do you want to open the ticket again after that much time?
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
klausneil
Znuny superhero
Posts: 682
Joined: 29 May 2012, 22:47
Znuny Version: 6.0.24
Real Name: Klaus Salazar
Location: Perú

Re: OTRS state change

Post by klausneil »

ok then work with the generic agent to change the status and event notifications to send the response.

Now if i use pending autoclose +, this will close the ticket after of a number of days, I can set the number of days?
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: OTRS state change

Post by crythias »

klausneil wrote:Now if i use pending autoclose +, this will close the ticket after of a number of days, I can set the number of days?
look directly underneath the state drop down list.
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
klausneil
Znuny superhero
Posts: 682
Joined: 29 May 2012, 22:47
Znuny Version: 6.0.24
Real Name: Klaus Salazar
Location: Perú

Re: OTRS state change

Post by klausneil »

Thanks crysthias thanks for you help
Locked