Pending Auto Closed +/- not closing ticket

Moderator: crythias

Locked
yannick
Znuny newbie
Posts: 7
Joined: 03 Apr 2014, 09:36
Znuny Version: 3.3.3
Real Name: Yannick
Company: DDM Consulting

Pending Auto Closed +/- not closing ticket

Post by yannick »

Hello,

The system we have has 2 custom pending auto states.
pending auto closed+ and pending auto closed- (instead of pending auto close+ and -) the reason for this , i was told, was for something with dynamic fields.

nevertheless what the reason was, when a ticket with this state has reached the reminder time, it's not automatically set to closed successful or closed unsuccessful .

where and how do i fix this?

Kind Regards,
Yannick
reneeb
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: Pending Auto Closed +/- not closing ticket

Post by reneeb »

Is the "pending_jobs" cronjob active?
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
yannick
Znuny newbie
Posts: 7
Joined: 03 Apr 2014, 09:36
Znuny Version: 3.3.3
Real Name: Yannick
Company: DDM Consulting

Re: Pending Auto Closed +/- not closing ticket

Post by yannick »

this is in the crontab

# --
# cron/pending_jobs - pending_jobs cron of the OTRS
# Copyright (C) 2001-2009 xxx, http://otrs.org/
# --
# This software comes with ABSOLUTELY NO WARRANTY. For details, see
# the enclosed file COPYING for license information (AGPL). If you
# did not receive this file, see http://www.gnu.org/licenses/agpl.txt.
# --

# check every 120 min the pending jobs
45 */2 * * * $HOME/bin/otrs.PendingJobs.pl >> /dev/null
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Pending Auto Closed +/- not closing ticket

Post by crythias »

it checks every 2 hours at 45 minutes after the hour. Are you expecting closure more rapidly than that?
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
yannick
Znuny newbie
Posts: 7
Joined: 03 Apr 2014, 09:36
Znuny Version: 3.3.3
Real Name: Yannick
Company: DDM Consulting

Re: Pending Auto Closed +/- not closing ticket

Post by yannick »

well it doesn't close them at all :-)
reneeb
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: Pending Auto Closed +/- not closing ticket

Post by reneeb »

Anything in the logs?
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
yannick
Znuny newbie
Posts: 7
Joined: 03 Apr 2014, 09:36
Znuny Version: 3.3.3
Real Name: Yannick
Company: DDM Consulting

Re: Pending Auto Closed +/- not closing ticket

Post by yannick »

which logs?

syslog... no not really something i can make up for this cronjob
reneeb
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: Pending Auto Closed +/- not closing ticket

Post by reneeb »

When your OTRS logs into Syslog, then yes Syslog... Did you rename the ticket states? Can you run $OTRS_HOME/bin/otrs.PendingJobs.pl manually?
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
yannick
Znuny newbie
Posts: 7
Joined: 03 Apr 2014, 09:36
Znuny Version: 3.3.3
Real Name: Yannick
Company: DDM Consulting

Re: Pending Auto Closed +/- not closing ticket

Post by yannick »

yes the ticket states are called "pending auto closed+" and "pending auto closed-" instead of the default "pending auto close+" and "pending auto close-".

does this pose a problem? The system was delivered to us like this by OTRS themselves.

I was told from my coworkers that this was done for something that has to do with Dynamic fields. although i don't really know or see the reason to.

Thanks for helping already :-)
reneeb
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: Pending Auto Closed +/- not closing ticket

Post by reneeb »

Then check if the SysConfig option Ticket::StateAfterPending is updated accordingly...
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
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Pending Auto Closed +/- not closing ticket

Post by crythias »

reneeb's correct.
reneeb wrote:SysConfig option Ticket::StateAfterPending is updated accordingly...
reneeb wrote:Can you run $OTRS_HOME/bin/otrs.PendingJobs.pl manually?
I'm reasonably certain you'd see...
ERROR: No Ticket::StateAfterPending found for 'pending auto closed+' in Kernel/Config.pm!
And it'd show up in your /var/log/messages or /var/log/syslog or your cronjob's MAILTO= (from /var/cron/aaa_base, default: root@localhost).
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
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Pending Auto Closed +/- not closing ticket

Post by jojo »

Yannik, as you are a support customer you should ask Support Team to get fast and reliable help
"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
Locked