add owner name in note on owner change

English! place to talk about development, programming and coding
Post Reply
Jason77
Znuny newbie
Posts: 4
Joined: 04 Jul 2019, 16:09
Znuny Version: 6.0.16

add owner name in note on owner change

Post by Jason77 »

Hi,

When I change a ticket owner a note gets added to the ticket.
Note subject: please take care of this ticket
Note body: now you are the owner

Both of these are configurable in Ticket::Frontend::AgentTicketOwner

I want the subject and the body to also include the name of the new owner, so I tried to add <OTRS_OWNER_UserFirstname> to the beginning of the subject and body. But all that did was actually write out <OTRS_OWNER_UserFirstname> as if it were regular text and did not actually add the owner's name.

The same thing happened when I tried to use <OTRS_NOTIFICATION_RECIPIENT_UserFirstname> instead.

Image

Image
Jason77
Znuny newbie
Posts: 4
Joined: 04 Jul 2019, 16:09
Znuny Version: 6.0.16

Re: add owner name in note on owner change

Post by Jason77 »

edi
Znuny newbie
Posts: 17
Joined: 20 Nov 2018, 16:10
Znuny Version: OTRS 4
Real Name: Eduard
Location: Russia
Contact:

Re: add owner name in note on owner change

Post by edi »

You should use the Ticket Notification Management.
Create a new notification with the TicketOwnerUpdate event.
alexus
Znuny wizard
Posts: 380
Joined: 20 Sep 2010, 16:54
Znuny Version: OTRS 6 CE
Real Name: Alexey Yusov
Company: Radiant System Group s.r.o
Location: Prague
Contact:

Re: add owner name in note on owner change

Post by alexus »

Jason77 wrote: 08 Jul 2019, 14:49
I want the subject and the body to also include the name of the new owner, so I tried to add <OTRS_OWNER_UserFirstname> to the beginning of the subject and body. But all that did was actually write out <OTRS_OWNER_UserFirstname> as if it were regular text and did not actually add the owner's name.
Try our free add-on RS4OTRS Ticket Owner Agent for Subject
Alexey Yusov

Production: OTRS CE ITSM 6.0.28 on CentOS 7 + Apache 2.4 + MariaDB 10.4.13 + Radiant Customer Portal

Radiant System OTRS Intergrator
RS4OTRS marketplace
Stay tuned on our Facebook
((OTRS)) Community Edition - what next?
Post Reply