How to disable ticket lock?
Moderator: crythias
How to disable ticket lock?
Hi!
OTRS automatically locks the ticket, when you change the owner. It locks it to new owner. Is there a way, to disable this feature?
Or maybe, how to set up the system, so that also locked tickets are shown in queue view? I know you can do this with Search function, but I'd like to display all the open tickets in the selected queue, locked and unlocked by default. BTW, I don't use responsible function...
Thanks!
OTRS automatically locks the ticket, when you change the owner. It locks it to new owner. Is there a way, to disable this feature?
Or maybe, how to set up the system, so that also locked tickets are shown in queue view? I know you can do this with Search function, but I'd like to display all the open tickets in the selected queue, locked and unlocked by default. BTW, I don't use responsible function...
Thanks!
OTRS 2.4.7 with ITSM 2.0.3. running on Linux Fedora 12
Re: How to disable ticket lock?
If somebody else is looking for this solution. There is a setting in Sysconfig, under Ticket -> Core::Ticket. Just add a 'lock' value under Ticket::ViewableLocks, and everyone can see all the tickets in queue view, of course for the queue with permissions...


OTRS 2.4.7 with ITSM 2.0.3. running on Linux Fedora 12
-
- Moderator
- Posts: 10170
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: How to disable ticket lock?
You can choose "Locked Tickets" in dashboard, btw.
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
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
Re: How to disable ticket lock?
Hi
Even if you can see the tickets that are locked, is there a way so that it doesn't lock the ticket when you change the owner. The reason why I need this is because unfortunatelly sometimes we forget that we need to add note/ change queue first before changing the owner of the ticket. So after we submit the change of ownership then we are stuck.
If there isn't away to disable lock feature, is there a script that we can run to unlock all tickets?
Thank you
Even if you can see the tickets that are locked, is there a way so that it doesn't lock the ticket when you change the owner. The reason why I need this is because unfortunatelly sometimes we forget that we need to add note/ change queue first before changing the owner of the ticket. So after we submit the change of ownership then we are stuck.
If there isn't away to disable lock feature, is there a script that we can run to unlock all tickets?
Thank you
OTRS 3.0.4 on Linux with MySQL database connected to an Active Directory for Agents
-
- Moderator
- Posts: 10170
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: How to disable ticket lock?
You can add a note to a locked ticket.
Config Options: Ticket -> Core::Ticket
Moving a ticket between queues unlocks them: (default enabled)
Ticket::EventModulePost###99-ForceUnlockOnMove:
Ticket event module to force tickets to be unlocked after moving to another queue.
Ticket::UnlockStateType:
The states for unlocked tickets. You can unlock tickets with the script "bin/UnlockTickets.pl"
There's also this: (default disabled)
Ticket::EventModulePost###1-ForceOwnerResetOnMove:
Ticket event module to reset and unlock the owner if ticket gets moved to another queue.
Config Options: Ticket -> Core::Ticket
Moving a ticket between queues unlocks them: (default enabled)
Ticket::EventModulePost###99-ForceUnlockOnMove:
Ticket event module to force tickets to be unlocked after moving to another queue.
Ticket::UnlockStateType:
The states for unlocked tickets. You can unlock tickets with the script "bin/UnlockTickets.pl"
There's also this: (default disabled)
Ticket::EventModulePost###1-ForceOwnerResetOnMove:
Ticket event module to reset and unlock the owner if ticket gets moved to another queue.
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
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
Re: How to disable ticket lock?
Thank you crythias
I've set so that the bin/UnlockTickets.pl script running more regularly now. That seems to solve our issue.
I've set so that the bin/UnlockTickets.pl script running more regularly now. That seems to solve our issue.
OTRS 3.0.4 on Linux with MySQL database connected to an Active Directory for Agents
Re: How to disable ticket lock?
Thanks for the tip, however when trying this, I don't get the expected result in tickets -> queueview. I am not able to see the all tickets by queue. Any idea why i can't cope with that?peter_sk wrote:If somebody else is looking for this solution. There is a setting in Sysconfig, under Ticket -> Core::Ticket. Just add a 'lock' value under Ticket::ViewableLocks, and everyone can see all the tickets in queue view, of course for the queue with permissions...
-
- Znuny advanced
- Posts: 119
- Joined: 12 Jan 2011, 22:35
- Znuny Version: 4.x.x.x.x
- Company: Self-Employed
Re: How to disable ticket lock?
I am having the same situation where I'd like to disable the Ticket Lock feature completely (even remove the link Lock - Unlock)
Q1 - Is the only option to run bin/UnlockTickets.pl regularly?
Q2 - If so what the best way / how to schedule the execution of the .pl file?
Q3 - If there is another way to completely disable the feature and remove the links, how?
Thanks,
Q1 - Is the only option to run bin/UnlockTickets.pl regularly?
Q2 - If so what the best way / how to schedule the execution of the .pl file?
Q3 - If there is another way to completely disable the feature and remove the links, how?
Thanks,
OTRS 4.0.11
Ubuntu 15.04
MySQL Database, PHP5, Apache (LAMP server bundle)
Ubuntu 15.04
MySQL Database, PHP5, Apache (LAMP server bundle)
-
- Moderator
- Posts: 10170
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: How to disable ticket lock?
I suppose another option would be to adjust for each queue:
Unlock timeout minutes: 1
0 = no unlock - 24 hours = 1440 minutes - Only business hours are counted.
Unlock timeout minutes: 1
0 = no unlock - 24 hours = 1440 minutes - Only business hours are counted.
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
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
-
- Znuny advanced
- Posts: 119
- Joined: 12 Jan 2011, 22:35
- Znuny Version: 4.x.x.x.x
- Company: Self-Employed
Re: How to disable ticket lock?
Oh! Easy enough ... thanks a lot 

OTRS 4.0.11
Ubuntu 15.04
MySQL Database, PHP5, Apache (LAMP server bundle)
Ubuntu 15.04
MySQL Database, PHP5, Apache (LAMP server bundle)
-
- Znuny newbie
- Posts: 27
- Joined: 05 Jul 2011, 14:57
- Znuny Version: 2.4.9
- Real Name: George Elisha
- Company: QLogy Management Services Pvt Ltd
Re: How to disable ticket lock?
In this Case, I See Locked Tikets Count (we have Locked tickets) and Message Count being Nullified..peter_sk wrote:If somebody else is looking for this solution. There is a setting in Sysconfig, under Ticket -> Core::Ticket. Just add a 'lock' value under Ticket::ViewableLocks, and everyone can see all the tickets in queue view, of course for the queue with permissions...
How to ensure both of these display their counts??
Thanks in Advance
Re: How to disable ticket lock?
How does the "Filter" option work, besides setting it to "All"? I triedcrythias wrote:You can choose "Locked Tickets" in dashboard, btw.
'Filter' => 'Locked' (as indicated in the Admin manual) but my unlocked ticket still appear in the dashboard.
Ticket::ViewableLocks: only has unlock and tmp_lock as options in the sysconfig.
OTRS 2.4.7 RedHat Linux 2.6.18-238.1.1.el5 mySQL 5.0.77
Re: How to disable ticket lock?
Hello,
I disabled ticket locks from the start. Everywhere. So that tickets always remain unlocked.
What I did to achieve that:
1. For all queues, "Ticket lock after a follow up" = No
2. In SysConfig:
« Ticket -> Frontend::Agent::Ticket::ViewPriority », attribute ‘RequiredLock’ = No
« Ticket -> Frontend::Agent::Ticket::ViewClose », attribute ‘RequiredLock’ = No
« Ticket -> Frontend::Agent::Ticket::ViewOwner », attribute ‘RequiredLock’ = No
« Ticket -> Frontend::Agent::Ticket::ViewPending », attribute ‘RequiredLock’ = No
« Ticket -> Frontend::Agent::Ticket::ViewCompose », attribute ‘RequiredLock’ = No
« Ticket -> Frontend::Agent::Ticket::ViewForward », attribute ‘RequiredLock’ = No
« Ticket -> Frontend::Agent::Ticket::ViewBounce », attribute ‘RequiredLock’ = No
« Ticket -> Frontend::Agent::Ticket::ViewMerge », attribute ‘RequiredLock’ = No
« Ticket -> Frontend::Agent::Ticket::ViewPhoneOutbound », attribute ‘RequiredLock’ = No
Hope it helps.
Regards,
Hervé
I disabled ticket locks from the start. Everywhere. So that tickets always remain unlocked.
What I did to achieve that:
1. For all queues, "Ticket lock after a follow up" = No
2. In SysConfig:
« Ticket -> Frontend::Agent::Ticket::ViewPriority », attribute ‘RequiredLock’ = No
« Ticket -> Frontend::Agent::Ticket::ViewClose », attribute ‘RequiredLock’ = No
« Ticket -> Frontend::Agent::Ticket::ViewOwner », attribute ‘RequiredLock’ = No
« Ticket -> Frontend::Agent::Ticket::ViewPending », attribute ‘RequiredLock’ = No
« Ticket -> Frontend::Agent::Ticket::ViewCompose », attribute ‘RequiredLock’ = No
« Ticket -> Frontend::Agent::Ticket::ViewForward », attribute ‘RequiredLock’ = No
« Ticket -> Frontend::Agent::Ticket::ViewBounce », attribute ‘RequiredLock’ = No
« Ticket -> Frontend::Agent::Ticket::ViewMerge », attribute ‘RequiredLock’ = No
« Ticket -> Frontend::Agent::Ticket::ViewPhoneOutbound », attribute ‘RequiredLock’ = No
Hope it helps.
Regards,
Hervé
OTRS 3.3.8 - Windows 7 - IIS7 - SQL Server - Firefox 30
Re: How to disable ticket lock?
I need ticket locks. I just don't want them to appear in the dashboard.
OTRS 2.4.7 RedHat Linux 2.6.18-238.1.1.el5 mySQL 5.0.77
-
- Znuny newbie
- Posts: 27
- Joined: 05 Jul 2011, 14:57
- Znuny Version: 2.4.9
- Real Name: George Elisha
- Company: QLogy Management Services Pvt Ltd
Re: How to disable ticket lock?
I find this useful and related to this post
http://otrs-treff.de/en/otrs-show-locke ... queue-view
http://otrs-treff.de/en/otrs-show-locke ... queue-view
-
- Znuny newbie
- Posts: 1
- Joined: 02 Nov 2011, 12:51
- Znuny Version: 3.0.10
- Real Name: Ilya
- Location: Russia
Re: How to disable ticket lock?
Hello.
After this you should set necessary options in System Config (see RequiredLock optons) to No
When I change owner the ticket doesn't lock automatically.
BUT!!! I don't know is it true way or have problems in the future
If you test and have problems write this.
P.S. Sorry for my English.
I've commented in /opt/otrs/Kernel/Modules/AgentTicketActionCommon.pm strings (they start with #)peter_sk wrote:OTRS automatically locks the ticket, when you change the owner. It locks it to new owner. Is there a way, to disable this feature?
Code: Select all
# set new owner
my @NotifyDone;
if ( $Self->{Config}->{Owner} ) {
my $BodyText = $Self->{LayoutObject}->RichText2Ascii(
String => $GetParam{Body} || '',
);
if ( $GetParam{NewOwnerType} eq 'Old' && $GetParam{OldOwnerID} ) {
# $Self->{TicketObject}->TicketLockSet(
# TicketID => $Self->{TicketID},
# Lock => 'lock',
# UserID => $Self->{UserID},
# );
my $Success = $Self->{TicketObject}->TicketOwnerSet(
TicketID => $Self->{TicketID},
UserID => $Self->{UserID},
NewUserID => $GetParam{OldOwnerID},
Comment => $BodyText,
);
# remember to not notify owner twice
if ( $Success && $Success eq 1 ) {
push @NotifyDone, $GetParam{OldOwnerID};
}
}
elsif ( $GetParam{NewOwnerID} ) {
# $Self->{TicketObject}->TicketLockSet(
# TicketID => $Self->{TicketID},
# Lock => 'lock',
# UserID => $Self->{UserID},
# );
my $Success = $Self->{TicketObject}->TicketOwnerSet(
TicketID => $Self->{TicketID},
UserID => $Self->{UserID},
NewUserID => $GetParam{NewOwnerID},
Comment => $BodyText,
);
# remember to not notify owner twice
if ( $Success && $Success eq 1 ) {
push @NotifyDone, $GetParam{NewOwnerID};
}
}
}
When I change owner the ticket doesn't lock automatically.
BUT!!! I don't know is it true way or have problems in the future
If you test and have problems write this.
P.S. Sorry for my English.
-
- Znuny superhero
- Posts: 630
- Joined: 17 Mar 2011, 14:40
- Znuny Version: 5.0.6
- Real Name: Yuri Kolesnikov
- Location: Russia
Re: How to disable ticket lock?
Colleagues!
In my opinion, the refusal of the function "Lock" - is wrong, especially in large companies with multiple agents. It may be that one went out to execute the Ticket, but also her other picks up and starts to execute it also. This of course depends on the organization of work, but I think before you give up a mechanism should be clear about where it leads.
And how to turn it off - all right - you're right!
In my opinion, the refusal of the function "Lock" - is wrong, especially in large companies with multiple agents. It may be that one went out to execute the Ticket, but also her other picks up and starts to execute it also. This of course depends on the organization of work, but I think before you give up a mechanism should be clear about where it leads.

And how to turn it off - all right - you're right!

Best regards Yuri Kolesnikov
OTRS 5.0.14, ITSM 5.0.14
SUSE 13.2, MariaDB 10.0.22(productive)
OTRS 5.0.14, ITSM 5.0.14(test)
OTRS 5.0.14, ITSM 5.0.14
SUSE 13.2, MariaDB 10.0.22(productive)
OTRS 5.0.14, ITSM 5.0.14(test)
Re: How to disable ticket lock?
We tried to not work with the lock mechanism - big mistake. It's useful AND trying to get rid of it will breaks other things.
OTRS 2.4.7 RedHat Linux 2.6.18-238.1.1.el5 mySQL 5.0.77
Re: How to disable ticket lock?
Hello,
We've been working with OTRS without ticket lock for 7 months now, and we are quite satisfied.
...but we are only 5 agents, all located in the same office.
Regards,
HervE
We've been working with OTRS without ticket lock for 7 months now, and we are quite satisfied.
...but we are only 5 agents, all located in the same office.
Regards,
HervE
OTRS 3.3.8 - Windows 7 - IIS7 - SQL Server - Firefox 30
Re: How to disable ticket lock?
This working for me in OTRS 4.0, but I just installed OTRS 5.0.10 and not working.peter_sk wrote:If somebody else is looking for this solution. There is a setting in Sysconfig, under Ticket -> Core::Ticket. Just add a 'lock' value under Ticket::ViewableLocks, and everyone can see all the tickets in queue view, of course for the queue with permissions...
I want to always see "all tickets" and not "available tickets".
¿some help?.
Re: How to disable ticket lock?
please don't change needed parts in OTRS. You can use the Status View to see all unlocked + locked tickets or the dashboard.
"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
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
Re: How to disable ticket lock?
Thanks for your answer but I dont know how to do it.jojo wrote:please don't change needed parts in OTRS. You can use the Status View to see all unlocked + locked tickets or the dashboard.

I want to disable QUEUE (X/X) option. Agents need to see all status. In fact, what I want is that when agents do login in OTRS, they have pre-selected the "TIC" queue and see "all Tickets".
can you help me?