[otrs] Using dynamic field in notifications when creating ticket

101 views
Skip to first unread message

Alexis HAUSER

unread,
Feb 12, 2020, 4:06:26 AM2/12/20
to otrs
Hi,

I tried to use dynamic fields in notifications, using the following syntax : <OTRS_TICKET_DynamicField_Myfield>
It worked for escalation notifications and others things, but it seems that the dynamic fields don't get any value when the notification is sent after creating a new ticket.
It's replaced instead with "-".

Any idea how I can update the dynamic fields values before the notification of a new ticket creation is sent ?

Regards
Alexis

Anthony F McInerney

unread,
Feb 12, 2020, 3:20:12 PM2/12/20
to User questions and discussions about OTRS.
Hi Alexis,

You want the followup magic
I think <OTRS_TICKET_DynamicField_Myfield> should map to X-OTRS-FollowUp-DynamicField instead of X-OTRS-DynamicFIeld

I believe that's correct (but i haven't got access to my otrs right now, some vicious googling on the forums will throw some up eventually)

Cheers
Ant.



---------------------------------------------------------------------
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/mailman/listinfo/otrs

Carlos Rodriguez

unread,
Feb 13, 2020, 10:48:30 AM2/13/20
to ot...@lists.otrs.org
Hi Alexis,

I think it is a time issue when the ticket is created there are no DF saved as they need a Ticket reference to be saved, so instead of the event TicketCreste you might want to use NotificationNewTicket. This happens after the ticket, ticket DF and article are created.

((enjoy))


Carlos Rodríguez

Alexis HAUSER

unread,
Feb 17, 2020, 3:14:05 AM2/17/20
to otrs
Hi,

Actually, I may have done a mistake when doing my first test : using <OTRS_TICKET_DynamicField_MyField_value> works !

Regards





Hi Alexis,
You want the followup magic
I think <OTRS_TICKET_DynamicField_Myfield> should map to X-OTRS-FollowUp-DynamicField instead of X-OTRS-DynamicFIeld

I believe that's correct (but i haven't got access to my otrs right now, some vicious googling on the forums will throw some up eventually)

Cheers
Ant.



Reply all
Reply to author
Forward
0 new messages