Unlock on close?

Moderator: crythias

Post Reply
hkais
Znuny expert
Posts: 280
Joined: 16 Apr 2016, 08:55
Znuny Version: see in post
Real Name: Hans
Contact:

Unlock on close?

Post by hkais »

I am having a new behavior on change from otrs5 to znuny 6

Tickets which are closed are keeping their state: locked

This results into that the users are getting shown closed tickets as locked. E.g. this locked tickets are about 50% already closed:
Screenshot_02727.png
I searched around and found

Code: Select all

Ticket::UnlockStateType
this was preset with

Code: Select all

new
open
I have added

Code: Select all

closed
and tried also

Code: Select all

closed successful
closed unsuccessful
In all cases I ran:

Code: Select all

sudo -u otrs /opt/otrs/bin/otrs.Console.pl Maint::Ticket::UnlockTimeout 
Unlocking tickets that are past their unlock timeout...
Done.
Can someone point me what I am understanding wrong here and what I should configure properly to ensure the right unlock behavior on closed tickets?
You do not have the required permissions to view the files attached to this post.
Elected 2022-06 as an IT Governance Portal Expert. The portal for Znuny, OTRS and OTOBO users
shawnbeasley
Znuny Employee
Posts: 132
Joined: 13 Sep 2021, 09:38
Znuny Version: Znuny 6.3.x
Real Name: Shawn Beasley
Company: Znuny

Re: Unlock on close?

Post by shawnbeasley »

Hi.

A couple of questions:

How are you closing the ticket?
Have you looked into the ticket history?
What does the log say when you close a ticket?

Closing a ticket will force an unlock. Another event could reopen it. This would be found in the history.

The option UnlockStateType is only used by the system when the timer for the queue runs out to ensure that tickets are not accidentally locked. Please reset this option.

You can use a generic agent to find closed and locked tickets and unlock them, or do this with a ticket search and bulk action.
hkais
Znuny expert
Posts: 280
Joined: 16 Apr 2016, 08:55
Znuny Version: see in post
Real Name: Hans
Contact:

Re: Unlock on close?

Post by hkais »

thx!

it was done by adding a note.

Is it possible to disable this behavior?
Elected 2022-06 as an IT Governance Portal Expert. The portal for Znuny, OTRS and OTOBO users
shawnbeasley
Znuny Employee
Posts: 132
Joined: 13 Sep 2021, 09:38
Znuny Version: Znuny 6.3.x
Real Name: Shawn Beasley
Company: Znuny

Re: Unlock on close?

Post by shawnbeasley »

Which behavior?
hkais
Znuny expert
Posts: 280
Joined: 16 Apr 2016, 08:55
Znuny Version: see in post
Real Name: Hans
Contact:

Re: Unlock on close?

Post by hkais »

if someone is adding a note, that the ticket gets locked again if the ticket is closed
Elected 2022-06 as an IT Governance Portal Expert. The portal for Znuny, OTRS and OTOBO users
jojo
Znuny guru
Posts: 15019
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Unlock on close?

Post by jojo »

looks like a wrong configured note screen
"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
hkais
Znuny expert
Posts: 280
Joined: 16 Apr 2016, 08:55
Znuny Version: see in post
Real Name: Hans
Contact:

Re: Unlock on close?

Post by hkais »

jojo wrote: 18 Mar 2022, 14:58 looks like a wrong configured note screen
I assume you mean sysconfig?
any hint what parameters are "wrong" configured?
Elected 2022-06 as an IT Governance Portal Expert. The portal for Znuny, OTRS and OTOBO users
skullz
Znuny superhero
Posts: 618
Joined: 24 Feb 2012, 03:58
Znuny Version: LTS and Features
Real Name: Mo Azfar
Location: Kuala Lumpur, MY
Contact:

Re: Unlock on close?

Post by skullz »

Perhaps this ?

Code: Select all

System configuration > Ticket::Frontend::AgentTicketNote###RequiredLock
Post Reply