Hi all,
Anyone had any luck\expereince with parsing the current user login info (agent) within the TicketCreate fucntion in process tickets? I want to be able to show who created the new ticket and it should be set to UserLogin but I cant seem to find anyway to parse it. I have also tried using the notification tags like <OTRS_CURRENT_UserFirstname> but doesnt seem to work.
Any ideas?
OTRS Ver 4.
Parse UserLogin with TicketCreate
Moderator: crythias
Parse UserLogin with TicketCreate
Last edited by cbruigom on 28 Jul 2016, 21:33, edited 1 time in total.
Re: Parse UserLogin with TicketCreate
I can't speak on OTRS 4 but at least for our system in OTRS 5 there is an entry in the process information section "Created by" which seems to give the exact info you're looking for. You could always try upgrading if this isn't something that's available in OTRS 4.
OTRS v5.0.10 with ITSM extension.
MySQL database
Ubuntu 16.04 LTS
MySQL database
Ubuntu 16.04 LTS
Re: Parse UserLogin with TicketCreate
Hi Egglio,
Thanks for the response - could you let me know where you see that entry? Is it in the transition action?
Thanks for the response - could you let me know where you see that entry? Is it in the transition action?
Re: Parse UserLogin with TicketCreate
I am able to see the created by field when viewing a process ticket, as soon as it has been created. Look where normal tickets would show ticket information and customer information, to the right of your screen...
You do not have the required permissions to view the files attached to this post.
OTRS v5.0.10 with ITSM extension.
MySQL database
Ubuntu 16.04 LTS
MySQL database
Ubuntu 16.04 LTS
Re: Parse UserLogin with TicketCreate
Thanks Egglio,
Yes that does help I can see who created the ticket. I was hoping I could use that information within the transition action "CreateTicket" and parse it to other fields used for the ticket creation but it doesnt seem those work in process tickets. An example is UserLogin or <OTRS_CURRENT_UserFirstname>. But thanks for the feedback will try your suggestion as a workaround.
Yes that does help I can see who created the ticket. I was hoping I could use that information within the transition action "CreateTicket" and parse it to other fields used for the ticket creation but it doesnt seem those work in process tickets. An example is UserLogin or <OTRS_CURRENT_UserFirstname>. But thanks for the feedback will try your suggestion as a workaround.