Trigger to check if field is empty and Copy content from one field to another field

Answered

3 Comments

  • Louise Dissing
    Comment actions Permalink

    Hi Adarsh,

    I'd say that this could be done with triggers and targets, but if the content of the fields is the same why do you have two fields?

    #helpsome regards,
    Louise Dissing
    Team Lead @ helphouse.io

    0
  • Adarsh Shet
    Comment actions Permalink

    Hi Louise,

    Thanks for responding. I tried using trigger but since its dropdown field. when I select the field in "Perform these actions:" it will populate the value instead of giving the option to fill data from the other field. Could you please share the details/links about the trigger and targets.

    Some cases end-user report it as an issue in the one component and after an investigation from agent, it will change to actual component. we kept it separately to have those track from user and agent perspective. Agents most of the time forget to update this field and we see a lot of inconsistency. I would like to update this field if it's not filled by an agent with the field from the used filled field using a trigger.

    Thanks

     

     

    0
  • Louise Dissing
    Comment actions Permalink

    Hi Adarsh,

    I'll try my very best :-)

    If I understand you correctly, then you have a custom field (a dropdown) that is end-user facing and one that is agent facing. 

    Again - I'd say you should just make this field visible for both agent AND end-users but if you cannot do this I'd do something like this:

    Create an HTTP Target: https://your_subdomain.zendesk.com/api/v2/tickets/{{ticket.id}}.json

    Create a trigger that has the conditions that are relevant.
    In actions, you choose the above target and a text field will be visible with the possibility to write JSON.

    Now you need to write the appropriate JSON to push the data from one field into the other field.

     

    If you need any further assistance setting this up, feel free to reach out to us on support@helphouse.io :-)

    0

Please sign in to leave a comment.

Powered by Zendesk