Hello,I am currently running osTicket 1.9.4, and wanted to autocomplete the User Information form found in /staff/ticket-open.inc.php, which is the Agent Panel -> Ticket -> New Ticket page.I know exactly where I need to edit the php file's form, however I need to access the name and email address values for the agent that is currently logged it. This would allow them to simply close the pop-up box and start entering Ticket Information and Options.If someone could kinda point out how to access these individual agent attributes I would greatly appreciate it!

So, do i understand that correct, that you always want the end user account of the current agent to be filled in as the ticket owner when an agent creates a new ticket at the agent panel?

Yes, currently the agents only want to fill out a ticket under their own name/email instead of getting the name/email of whomever talked to them, as usually it is simply in passing in the office that someone mentions the issue.

You'd have to modify the osTicket source code to achieve this, since it's not possible via an UI option.

Yes I understand that I need to modify the source code. I was hoping someone knew how to access the agent properties in the /staff/ticket-open.inc.php file.My assumption is that it is something like $thisstaff.name and $thisstaff.email to access the information on the currently logged on staff member (agent).

4 years later

Can you please share more detailed guidelines where and what to change in /staff/ticket-open.inc.php?
I have the same issue and request and I would like to have a resolution on that.

Is it possible for you to share your modified/changed /staff/ticket-open.inc.php if this is more easy for you?

Thank you.

6 days later

This thread is 4 years old. I doubt that the original author is going to get back to you.

    ntozier

    Hello, you are right. My question is shot in the dark.

    What should I do to find out person who can help here with that question and support me?

    Thank you!

    When it comes to the realm of modifications your soft of on your own. If you cannot reach the author of the mod then you would need to find someone that knows php/html and see if they can figure it out.

    Write a Reply...