Change owner of ticket via email

Moderator: crythias

Locked
Coobs
Znuny newbie
Posts: 6
Joined: 30 May 2014, 15:48
Znuny Version: 3.3.6

Change owner of ticket via email

Post by Coobs »

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!
I am using OTRS Version: 3.3.6
I am using OS: Windows 8.1
I am using Database: MySQL
crythias
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

Post by crythias »

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
Coobs
Znuny newbie
Posts: 6
Joined: 30 May 2014, 15:48
Znuny Version: 3.3.6

Re: Change owner of ticket via email

Post by Coobs »

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
crythias
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

Post by crythias »

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
Coobs
Znuny newbie
Posts: 6
Joined: 30 May 2014, 15:48
Znuny Version: 3.3.6

Re: Change owner of ticket via email

Post by Coobs »

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
crythias
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

Post by crythias »

also, unless these agent emails are internal, customers will see the codes you send.

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
Coobs
Znuny newbie
Posts: 6
Joined: 30 May 2014, 15:48
Znuny Version: 3.3.6

Re: Change owner of ticket via email

Post by Coobs »

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
crythias
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

Post by crythias »

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
Coobs
Znuny newbie
Posts: 6
Joined: 30 May 2014, 15:48
Znuny Version: 3.3.6

Re: Change owner of ticket via email

Post by Coobs »

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
crythias
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

Post by crythias »

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
reneeb
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

Post by reneeb »

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
Coobs
Znuny newbie
Posts: 6
Joined: 30 May 2014, 15:48
Znuny Version: 3.3.6

Re: Change owner of ticket via email

Post by Coobs »

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
crythias
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

Post by crythias »

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
Locked