[Resolved] How to set autoclose ticket after 30 days if resolved

Moderator: crythias

Locked
zbigniew
Znuny newbie
Posts: 53
Joined: 11 Dec 2014, 13:30
Znuny Version: 5.0.23
Real Name: Zbigniew Luszpinski

[Resolved] How to set autoclose ticket after 30 days if resolved

Post by zbigniew »

OTRS 3.2.17

After solving ticket Agent sets Status: Resolved (pending auto close+). How to stop time accounting for such ticket and activate autoclose after 30 days if nothing happens. Tried to set Ticket -> Frontend::Agent Ticket::Frontend::PendingDiffTime to 2592000 = (30 days x 86400 secs, a 1 day). Setting 2592000 is blocked with error: bad value.
Last edited by zbigniew on 03 Apr 2015, 02:45, edited 1 time in total.
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: How to set autoclose ticket after 30 days if resolved

Post by crythias »

Generic agent. If state is 30days to close and last change > 30 days ago set state to closed successfully and unlock.
Although I'd strongly suggest considering the efficacy of leaving resolved tickets open that long. Closed is closed and even upon queue set for Reject, can be opened again if necessary. And if not set for reject, the ticket will reopen anyway if the customer responds. Which, unless you don't want to reopen the ticket after it's resolved ...
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
zbigniew
Znuny newbie
Posts: 53
Joined: 11 Dec 2014, 13:30
Znuny Version: 5.0.23
Real Name: Zbigniew Luszpinski

Re: How to set autoclose ticket after 30 days if resolved

Post by zbigniew »

Thanks :)
Locked