Change owner of ticket via email
Moderator: crythias
Change owner of ticket via email
So I'm essentially trying to manually set up something similar to the premium add-on Agent Email Interface (https://www.otrs.com/feature-add-on/age ... -interface) in which agents can reply to tickets via email as well as close or change the owner of tickets via commands without ever using the OTRS interface. I have it set up using PostMaster Filters and everything seems to be working except for changing the owner of a ticket. I am attempting to use the X-OTRS-OWNER header and the value of the agent id from the OTRS database users table. However, this only seems to set the owner on new tickets rather than change the owner of already existing tickets. Is there a way to modify OTRS so that I can accomplish this?
Here's my current process:
1) Customer submits ticket
2) Tickets get routed to specific queue and applicable agents receive new ticket notification
3) Agents reply to the new ticket notification with command <OTRS_CMD>agent id<OTRS_CMD> to lock the ticket and make them this agent the owner (this is where I am having problems)
4) Agents then reply to the customer again via new ticket notification. I have an ArticleCreate event notification that sends email to customer with agent's reply.
4) Agent closes ticket via command <OTRS_CMD>close<OTRS_CMD>
Thanks in advance!
Here's my current process:
1) Customer submits ticket
2) Tickets get routed to specific queue and applicable agents receive new ticket notification
3) Agents reply to the new ticket notification with command <OTRS_CMD>agent id<OTRS_CMD> to lock the ticket and make them this agent the owner (this is where I am having problems)
4) Agents then reply to the customer again via new ticket notification. I have an ArticleCreate event notification that sends email to customer with agent's reply.
4) Agent closes ticket via command <OTRS_CMD>close<OTRS_CMD>
Thanks in advance!
I am using OTRS Version: 3.3.6
I am using OS: Windows 8.1
I am using Database: MySQL
I am using OS: Windows 8.1
I am using Database: MySQL
-
- Moderator
- Posts: 10170
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: Change owner of ticket via email
X-OTRS-FollowUp-Owner
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: Change owner of ticket via email
I don't see that on my list of possible email headers. Do I need to create this? If so, how?
I am using OTRS Version: 3.3.6
I am using OS: Windows 8.1
I am using Database: MySQL
I am using OS: Windows 8.1
I am using Database: MySQL
-
- Moderator
- Posts: 10170
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: Change owner of ticket via email
How did you get X-OTRS-Owner?
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: Change owner of ticket via email
It was already included in OTRS. I think I read it was a new feature they added in version 3.3 but don't hold me to that.
I am using OTRS Version: 3.3.6
I am using OS: Windows 8.1
I am using Database: MySQL
I am using OS: Windows 8.1
I am using Database: MySQL
-
- Moderator
- Posts: 10170
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: Change owner of ticket via email
also, unless these agent emails are internal, customers will see the codes you send.
Edit Config Settings in Ticket -> Core::PostMaster
Edit Config Settings in Ticket -> Core::PostMaster
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: Change owner of ticket via email
So once I add the X-OTRS-FollowUp-Owner to Core::PostMaster::PostmasterX-Header and create the PostMaster filter, do I need to edit any other files?
I am using OTRS Version: 3.3.6
I am using OS: Windows 8.1
I am using Database: MySQL
I am using OS: Windows 8.1
I am using Database: MySQL
-
- Moderator
- Posts: 10170
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: Change owner of ticket via email
Try it first. If it doesn't work, it doesn't work.
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: Change owner of ticket via email
Nope, same result using X-OTRS-FollowUp-Owner
I am using OTRS Version: 3.3.6
I am using OS: Windows 8.1
I am using Database: MySQL
I am using OS: Windows 8.1
I am using Database: MySQL
-
- Moderator
- Posts: 10170
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: Change owner of ticket via email
might be OWNER instead of Owner. But if still not, not sure.
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 guru
- Posts: 5018
- Joined: 13 Mar 2011, 09:54
- Znuny Version: 6.0.x
- Real Name: Renée Bäcker
- Company: Perl-Services.de
- Contact:
Re: Change owner of ticket via email
https://github.com/OTRS/otrs/blob/rel-3 ... ollowUp.pm doesn't handle an owner change.
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
Re: Change owner of ticket via email
Could this be accomplished via Generic Agent?
I am using OTRS Version: 3.3.6
I am using OS: Windows 8.1
I am using Database: MySQL
I am using OS: Windows 8.1
I am using Database: MySQL
-
- Moderator
- Posts: 10170
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: Change owner of ticket via email
No. This is not a good idea.
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