Page 1 of 1

Is it possible to auto populate custom field in admin interface from received email/ticket

Posted: Mon Jul 04, 2016 8:01 am
by stevenf
Script URL:
Version of script: 2.6.7/2.5.5. mods for hesk
Hosting company:
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution: custom fields

Write your message below:

Hello,

I'm not sure if this is possible as is stated in title of topic but if it is, how to do it? I saw this article but don't know how to implement it because I don't have programming skils.

Ticket's are set up throught wordpress with contact form that are going into HESK throught email piping. In HESK admin there is custom field for customer number that needed to be manualy written for each ticket.

In that contact form there is field for customer number which is shown in ticket message, but is it possible somehow to tell HESK to use that number and write it in custom field so all users that reply to ticket don't write it manually?

Thank you in advance.

Re: Is it possible to auto populate custom field in admin interface from received email/ticket

Posted: Mon Jul 04, 2016 12:35 pm
by Klemen
The method mentioned in the article only works when you send someone to Hesk contact form directly, not using email piping.

There is no built-in or easy way of populating custom fields using email piping. The only way of doing that would be to hire a PHP developer to help you come up with a way to tag custom data within the Wordpress contact form then look for and parse those tags at the email piping time.

Re: Is it possible to auto populate custom field in admin interface from received email/ticket

Posted: Mon Jul 04, 2016 1:51 pm
by stevenf
Hello Klemen,

thank you for reply. I thought this was not regular option. I'm thinking about direct write to database after question is sent from contact form in wordpress, but need to figure out how to make number written in correct ticket.

Once more, thank you.