Znuny - Can't set customerID in TicketCreate

Moderator: crythias

Post Reply
Rhendak
Znuny newbie
Posts: 39
Joined: 20 Mar 2021, 12:21
Znuny Version: Znuny LTS 6.0.36
Real Name: Robin

Znuny - Can't set customerID in TicketCreate

Post by Rhendak »

Hello all,

I'm having some issues with setting the customer in a TicketCreate.

I create a new ticket as a child ticket and try to set the same customer as the parent ticket. I've tried different options to achieve this:

Code: Select all

Key: CustomerID	Value: <OTRS_CUSTOMER_DATA_UserCustomerID>
Key: CustomerID	Value: <OTRS_CUSTOMER_REALNAME>
Key: CustomerID	Value: <OTRS_CUSTOMER_DATA_UserEmail>
However, in the child ticket the Customer is not being set correctly.

Does anyone know how I can set the customer correctly to the same customer of the parent ticket?

Thanks in advance for any help offered.

Kind regards,
Robin.
root
Administrator
Posts: 3934
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: Znuny - Can't set customerID in TicketCreate

Post by root »

Hi,

Try <OTRS_TICKET_CustomerID> and <OTRS_TICKET_CustomerUserID>

- 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 ?
Rhendak
Znuny newbie
Posts: 39
Joined: 20 Mar 2021, 12:21
Znuny Version: Znuny LTS 6.0.36
Real Name: Robin

Re: Znuny - Can't set customerID in TicketCreate

Post by Rhendak »

root wrote: 22 Oct 2021, 10:36 Hi,

Try <OTRS_TICKET_CustomerID> and <OTRS_TICKET_CustomerUserID>

- Roy
Fixed with <OTRS_TICKET_CustomerID>. Thank you Roy.
Post Reply