I have seen this post on stackoverflow sadly no repsonse there and I have the same issue.
https://stackoverflow.com/q/58116104/3880225
Any ideas how to solve the issue?
How to reset or remove owner of a OTRS ticket?
Moderator: crythias
-
- Znuny expert
- Posts: 287
- Joined: 16 Apr 2016, 08:55
- Znuny Version: see in post
- Real Name: Hans
- Contact:
How to reset or remove owner of a OTRS ticket?
Elected 2022-06 as an IT Governance Portal Expert. The portal for Znuny, OTRS and OTOBO users
-
- Administrator
- Posts: 3965
- Joined: 18 Dec 2007, 12:23
- Znuny Version: Znuny and Znuny LTS
- Real Name: Roy Kaldung
- Company: Znuny
- Contact:
Re: How to reset or remove owner of a OTRS ticket?
Hi,
Mandatory field, no chance.
- Roy
Mandatory field, no chance.
- Roy
Znuny and Znuny LTS running on CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO
Use a test system - always.
Do you need professional services? Check out https://www.znuny.com/
Do you want to contribute or want to know where it goes ?
Use a test system - always.
Do you need professional services? Check out https://www.znuny.com/
Do you want to contribute or want to know where it goes ?
-
- Znuny expert
- Posts: 287
- Joined: 16 Apr 2016, 08:55
- Znuny Version: see in post
- Real Name: Hans
- Contact:
Re: How to reset or remove owner of a OTRS ticket?
Hi Roy,
how is the field handled, on receiving (status new) the ticket?
Here you do not have a owner.
So do not understand why this same status is not possible?
best wishes
how is the field handled, on receiving (status new) the ticket?
Here you do not have a owner.
So do not understand why this same status is not possible?
best wishes
Elected 2022-06 as an IT Governance Portal Expert. The portal for Znuny, OTRS and OTOBO users
-
- Administrator
- Posts: 3965
- Joined: 18 Dec 2007, 12:23
- Znuny Version: Znuny and Znuny LTS
- Real Name: Roy Kaldung
- Company: Znuny
- Contact:
Re: How to reset or remove owner of a OTRS ticket?
Hi,
With no given owner the owner with the UserID 1 is assigned. That's by design.
What you want to achieve the lock is for. A locked ticket should be handled by the owner and if it's unlocked it available to everyone in the queue (=team?).
- Roy
With no given owner the owner with the UserID 1 is assigned. That's by design.
What you want to achieve the lock is for. A locked ticket should be handled by the owner and if it's unlocked it available to everyone in the queue (=team?).
- Roy
Znuny and Znuny LTS running on CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO
Use a test system - always.
Do you need professional services? Check out https://www.znuny.com/
Do you want to contribute or want to know where it goes ?
Use a test system - always.
Do you need professional services? Check out https://www.znuny.com/
Do you want to contribute or want to know where it goes ?
-
- Znuny expert
- Posts: 287
- Joined: 16 Apr 2016, 08:55
- Znuny Version: see in post
- Real Name: Hans
- Contact:
Re: How to reset or remove owner of a OTRS ticket?
Hi Roy,
what I want to achieve is the same as with new tickets. Means to set the userID 1.
Unlocking does not help in this case
best wishes
what I want to achieve is the same as with new tickets. Means to set the userID 1.
Unlocking does not help in this case
best wishes
Elected 2022-06 as an IT Governance Portal Expert. The portal for Znuny, OTRS and OTOBO users
-
- Znuny superhero
- Posts: 889
- Joined: 15 Dec 2016, 15:13
- Znuny Version: All
- Real Name: Emin
- Company: Efflux GmbH
- Contact:
Re: How to reset or remove owner of a OTRS ticket?
Hey,
The GenericAgent is what you're searching for. Just trigger on state update and change the owner. The docs should help.
Best regards
Emin
The GenericAgent is what you're searching for. Just trigger on state update and change the owner. The docs should help.
Best regards
Emin
Professional OTRS, Znuny & OTOBO services: efflux.de | efflux.de/en/
Free and premium add-ons: German | English
Free and premium add-ons: German | English
-
- Znuny expert
- Posts: 287
- Joined: 16 Apr 2016, 08:55
- Znuny Version: see in post
- Real Name: Hans
- Contact:
Re: How to reset or remove owner of a OTRS ticket?
Hi Emin,
thank you for your reply. Can you please share me how to set the userID 1 in generic agent?
best wishes
Elected 2022-06 as an IT Governance Portal Expert. The portal for Znuny, OTRS and OTOBO users
-
- Moderator
- Posts: 10169
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: How to reset or remove owner of a OTRS ticket?
A ticket is in a Queue.
The Queue is a member of a group.
The group consists of Agents (users) that are allowed to work on tickets in that Queue.
When the Ticket is locked, only the owner of the ticket (and Responsible and Watchers) will be able to get notifications of correspondence on this ticket.
When a ticket is New, it is not locked (unlocked) and everyone gets notifications of the ticket and can take ownership of the ticket.
At all times, an owner must be assigned to the ticket, and by default that owner is UserID 1 or Admin OTRS.
The ownership of the ticket doesn't matter as much to your question as the lock/unlock state of the ticket.
If the ticket is closed, it is simultaneously unlocked. The ownership doesn't change upon close/unlock (which is, typically, desirable because we want to know who had point on the ticket.) But, this now unlocked ticket can be grabbed/locked/taken ownership by any other member of the group of the queue of the ticket. Plus, being closed and especially Unlocked, followups to the ticket will be handled in the same manner as if the ticket were new: all members of the group of the queue of the ticket get notifications according to their personal preferences.
This means the next operation is handled by the full team (the ticket isn't muted to the team because it's not locked). But the first/next person to do a lockable action has point on the ticket and takes ownership of the ticket.
If you must reset the ticket's owner, then just set the Owner to Admin OTRS, but note that this typically locks the ticket to the newly set owner, which isn't necessarily what you want to achieve. That is because you've muted the ticket from the team while Admin OTRS has [locked] ownership of the ticket.
The default actions of closing a ticket do exactly what you want to happen--make the ticket unmuted for the team.
The Queue is a member of a group.
The group consists of Agents (users) that are allowed to work on tickets in that Queue.
When the Ticket is locked, only the owner of the ticket (and Responsible and Watchers) will be able to get notifications of correspondence on this ticket.
When a ticket is New, it is not locked (unlocked) and everyone gets notifications of the ticket and can take ownership of the ticket.
At all times, an owner must be assigned to the ticket, and by default that owner is UserID 1 or Admin OTRS.
The ownership of the ticket doesn't matter as much to your question as the lock/unlock state of the ticket.
If the ticket is closed, it is simultaneously unlocked. The ownership doesn't change upon close/unlock (which is, typically, desirable because we want to know who had point on the ticket.) But, this now unlocked ticket can be grabbed/locked/taken ownership by any other member of the group of the queue of the ticket. Plus, being closed and especially Unlocked, followups to the ticket will be handled in the same manner as if the ticket were new: all members of the group of the queue of the ticket get notifications according to their personal preferences.
This means the next operation is handled by the full team (the ticket isn't muted to the team because it's not locked). But the first/next person to do a lockable action has point on the ticket and takes ownership of the ticket.
If you must reset the ticket's owner, then just set the Owner to Admin OTRS, but note that this typically locks the ticket to the newly set owner, which isn't necessarily what you want to achieve. That is because you've muted the ticket from the team while Admin OTRS has [locked] ownership of the ticket.
The default actions of closing a ticket do exactly what you want to happen--make the ticket unmuted for the team.
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