Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion

osTicket v1.10 (stable) and Maintenance Release v1.9.15 are now available! Go get it now

[resolved] Assigned Agent on Ticket Thread

edited September 19 in Mods and Customizations
Hi,

I'm using v.1.10, may I know if its possible to show on the ticket thread to whom Agent the ticket is assigned?.
This is for the User view.

Comments

  • Hi,

    Is there anybody know how to do this?. thanks.
  • %{ticket.assigned} Assigned staff and/or team

    The full list is available here: http://osticket.com/wiki/Email_templates
  • Hi,

    Sorry but still I can't understand how to do this.

    What I'm trying to do if possible is to display on the ticket thread when the Admin assigned the ticket to specific Agent (please see image1). Currently this is not showing on the Users ticket thread (see image2).

    image
    image2.jpg
    649 x 256 - 25K
    image1.jpg
    706 x 206 - 27K
  • Apologies mate, I thought you were trying to add it to the email template.

    Possibly the easiest way is to add it to the ticket metadata at the header of the ticket view, ie, open /include/client/view.inc.php

    Find . 
                    <tr>
                        <th><?php echo __('Create Date');?>:</th>
                        <td><?php echo Format::datetime($ticket->getCreateDate()); ?></td>
                    </tr>

    Add after:
                    <tr>
                    <th><?php echo __('Assigned to');?>:</th>
                    <td><?php echo Format::htmlchars($ticket->getAssignee());?></td>
                    </tr>
  • Hi, 

    I added the code but nothing happens.
  • It affects the user view, agents can already see who is assigned. Just make a ticket for yourself and check the top of the thread, you'll see the name at the top if someone is assigned.
  • Got it!, thank you for your help.
  • Shall I mark this thread as resolved and close it?
  • yes please. thanks
This discussion has been closed.