Send Custom Organization field content into a Custom Ticket Field

4 Comentarios

  • Raphaël Péguet - Officers.fr

    Hi Benjamin,

    I think you should remove .json at the end of the URL 

    Best regards,

    Raphaël

    0
  • Benjamin Lamiable

    Hi Raphaël,


    Thanks for your feedback,

    Unfortunately the result is exactly the same.

    404 Not found :

    {"error":"InvalidEndpoint","description":"Not found"}

     

    Endpoint URL :

    https://domain.zendesk.com/api/v2/tickets/{{ticket.id}}

     

    Thanks in advance for your help

    0
  • Raphaël Péguet - Officers.fr

    Hi Benjamin Lamiable,

    How do you try? 

    You have to put a value in the ticket.id otherwise it will not work. 

    + I tried: {{ticket.organization.custom_fields.important_information.title}} and it didn't work for me but it worked like that: {{ticket.organization.custom_fields.important_information}}

    0
  • Benjamin Lamiable

    Hi again Raphaël,

     

    When switching to "PUT" rather than "POST" + referring a ticket.id, it works correctly, but..

    The field content do not seem to absorb the variable contained into my {{ticket.organization.custom_fields.important_information}} field, it directly post "{{ticket.organization.custom_fields.important_information}}" into the ticket field, without taking the data referred into it (which is "TEST!" actually).
    Same result when adding .title at the end, of course ^^

     

    Maybe there is something wrong in my process ?

    Thanks again for your help.
     

    0

Iniciar sesión para dejar un comentario.

Tecnología de Zendesk