Tools

Getting error 'Unable to obtain lock for Ticket' when a Web Help Desk technician edits a ticket

This article shows how to troubleshoot a problem where a technician gets an error while editing a ticket.

First published date

10/22/2018 8:32 AM

Last published date

8/14/2020 10:59 PM

Overview

Web help desk displaying an error messages when a Web Help Desk technician edits a ticket.

"Unable to obtain lock for Ticket"

Product section

Web Help Desk

Resolution

Check the JOB_TICKET_ACTIVE_SESSION table for the Ticket number in the error. After you locate the ticket number, delete the row.
 

If you cannot locate the ticket number, run the following SQL statement:

-- Scripts are not supported under any SolarWinds support program or service.
-- Scripts are provided AS IS without warranty of any kind. SolarWinds further
-- disclaims all warranties including, without limitation, any implied warranties
-- of merchantability or of fitness for a particular purpose. The risk arising
-- out of the use or performance of the scripts and documentation stays with you.
-- In no event shall SolarWinds or anyone else involved in the creation,
-- production, or delivery of the scripts be liable for any damages whatsoever
-- (including, without limitation, damages for loss of business profits, business
-- interruption, loss of business information, or other pecuniary loss) arising
-- out of the use of or inability to use the scripts or documentation.

SELECT F.JOB_TICKET_ID AS FIRST_TICKET_ID,F.MERGED_PARENT_TICKET_ID AS FIRST_TICKET_PARENT_ID,S.JOB_TICKET_ID AS SECOND_TICKET_ID, S.MERGED_PARENT_TICKET_ID AS SECOND_PARENT_ID, HE.ENTRY_TEXT, HE.ENTRY_DATE FROM JOB_TICKET as F JOIN JOB_TICKET as S ON S.MERGED_PARENT_TICKET_ID=F.JOB_TICKET_ID AND F.MERGED_PARENT_TICKET_ID = S.JOB_TICKET_ID JOIN HISTORY_ENTRY AS HE on F.JOB_TICKET_ID = HE.JOB_TICKET_ID WHERE HE.ENTRY_TEXT LIKE 'Merged in%' ORDER BY HE.ENTRY_DATE DESC;

Locate the ticket number and delete it (if listed).

If you cannot find the ticket number:

  1. Log in to Web Help Desk as an administrator.
  2. Click Setup > Tickets > Options.
  3. Under Tech Options, locate the following field:
     
  4. Click Allow, and then click Save.