auto unlcok tickets

Moderator: crythias

Locked
eneless
Znuny newbie
Posts: 24
Joined: 13 Nov 2010, 01:54
Znuny Version: 2.4.9

auto unlcok tickets

Post by eneless »

Hi

As our setup requires that anyone be able to work on a ticket at a given point, I have set the inactivity unlock timer in all of the queues to 5 minutes.
Whilst this has rarely come into play as tickets are actioned in a timely fashion by staff, I have noticed that a number of tickets have remained locked despite the owner of the ticket being out of the office.
The only solution I found at the time was to take ownership of the ticket and then I could unlock/close the ticket.

Is there and additional setting I should check to resolve this?
OTRS 3.0.8 ITSM 3.0.4
OS - Win 2003 Ent x64 SP2
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: auto unlcok tickets

Post by crythias »

that might be a cron issue with your Windows install.
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
eneless
Znuny newbie
Posts: 24
Joined: 13 Nov 2010, 01:54
Znuny Version: 2.4.9

Re: auto unlcok tickets

Post by eneless »

OK.

So, looking at the text in the config of the Queue, it says: -
If an agent locks a ticket and does not close it before the unlock timeout has passed, the ticket will unlock and will become available for other agents.
The agents are not locking the tickets themselves. I think the tickets are locked as the agents are the ticket owners on creation.

Is setting a generic agent the only solution or is there a better way?
OTRS 3.0.8 ITSM 3.0.4
OS - Win 2003 Ent x64 SP2
ferrosti
Znuny superhero
Posts: 723
Joined: 10 Oct 2007, 14:30
Znuny Version: 3.0
Location: Hamburg, Germany

Re: auto unlcok tickets

Post by ferrosti »

By default the job for unlocking old tickets runs every hour at .35 minutes. Maybe this is the issue here?
openSuSE on ESX
IT-Helpdesk: OTRS 3.0
Customer Service: OTRS 3.0 (upgraded from 2.3)
Customer Service (subsidiary): OTRS 3.0
+additional test and development systems
eneless
Znuny newbie
Posts: 24
Joined: 13 Nov 2010, 01:54
Znuny Version: 2.4.9

Re: auto unlcok tickets

Post by eneless »

I have already changed the setting in the affected queue to unlock after 5 minutes
OTRS 3.0.8 ITSM 3.0.4
OS - Win 2003 Ent x64 SP2
ferrosti
Znuny superhero
Posts: 723
Joined: 10 Oct 2007, 14:30
Znuny Version: 3.0
Location: Hamburg, Germany

Re: auto unlcok tickets

Post by ferrosti »

This is not about Queue settings, it´s a cron setting.
Have a look at your cron file, when and how often your unlocking job runs.
openSuSE on ESX
IT-Helpdesk: OTRS 3.0
Customer Service: OTRS 3.0 (upgraded from 2.3)
Customer Service (subsidiary): OTRS 3.0
+additional test and development systems
jfreeman2nc
Znuny advanced
Posts: 136
Joined: 04 Oct 2010, 14:14
Znuny Version: 3.0.10; 3.1.4
Location: US, SC
Contact:

Re: auto unlcok tickets

Post by jfreeman2nc »

So basically if I go into the OTRS\var\cron\unlock job I see the following

Code: Select all

# unlock every hour old locked tickets
35 * * * *  $HOME/bin/otrs.UnlockTickets.pl --timeout >> /dev/null
if I changed this to the following it should unlock tickets every 10 minutes correct?

Code: Select all

# unlock every 10 minutes old locked tickets
*/10 * * * *  $HOME/bin/otrs.UnlockTickets.pl --timeout >> /dev/null
Also, one question....every cron job file has a .dist extension, I thought that this was not a good thing, but I am having no issues currently with my CRON jobs.
OTRS 3.1.4
Windows Server 2008 R2
MySQL

OTRS 3.0.10 - soon to be 3.0.12 or 3.1.4
Windows Server 2008 R2
MySQL DB
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: auto unlcok tickets

Post by crythias »

Yes, and because you're using windows, the .dist isn't a problem though it's possibly going to be overwritten upon upgrade.
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
jfreeman2nc
Znuny advanced
Posts: 136
Joined: 04 Oct 2010, 14:14
Znuny Version: 3.0.10; 3.1.4
Location: US, SC
Contact:

Re: auto unlcok tickets

Post by jfreeman2nc »

Thanks, just wanted to make sure I wouldn't see any issues down the road by having the .dist extension. It makes sense, since the CRON job files revert to default settings if I upgrade. Which would be much easier if they let me use a Linux box in the office :)
OTRS 3.1.4
Windows Server 2008 R2
MySQL

OTRS 3.0.10 - soon to be 3.0.12 or 3.1.4
Windows Server 2008 R2
MySQL DB
Locked