Ticket Tab / side bar possible bug

6 Comentarios

  • Sandro Olivieri Admin

    I have the same problem: ZAFClient.Init() always gets the last ticket opened.
    I'm developing a ticket sidebar app and when I navigate on another ticket tab, the client inizialization gets always the informations of last tickets.
    How can I solve the problem?
    Thanks,
    Sandro

    0
  • Eric Nelson
    Zendesk Developer Advocacy
    Hey Sandro,

    Would you be able to show us how you're initializing the application and interacting with the ticket? 

    Thanks!
    0
  • Sumathy (.asia)

    Hi, 

    I am having the same issue, anyone have a solution for this?  Below is the code I use for initializing. Because of this, I am unable to display the correct products for the User.  I need an urgent solution for this.

    var client = ZAFClient.init();
      client.invoke('resize', { width: '100%', height: '320px' });

      client.get('ticket.requester.id').then(
        function(data) {
            console.log(data);
          var user_id = data['ticket.requester.id'];
          requestUserInfo(client, user_id);
        }
      );

     

    0
  • Erica Girges
    Zendesk Developer Advocacy
    Hi Sumathy, 
     
    My records indicate the original post may have been a self solved issue which is why a resolution wasn't shared from our end. If you're still having this issue, please let us know and we can create a ticket for you to dig into troubleshooting further.
     
    Best,
     
    Erica 
    0
  • Sumathy (.asia)

    I still have this issue. For my case, when the App refresh button is clicked, the client.get('ticket.requester.id') does gets the last opened or random ticket id from the multi-tab tickets and displays the product.  Due to this issue, I am unable to show the correct products for the ticket user in the side tab.

     I have posted it in Zendesk support and they have mentioned that currently there is no way to retrieve a particular instance ticket id when multiple tabs or opened.  So, they have added this issue as a product feedback.

    0
  • DevOps Team

    I am also facing the same issue

     

    Is there any way to resolve the issue

     

    Thanks

    0

Iniciar sesión para dejar un comentario.

Tecnología de Zendesk