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

Insert a select of users in the new ticket form/help topic

It's possible?

I need to insert a select field with all active users in the help topic formsomething like that, which is attached or the link below:


Please help me, i'm stacked on it :/

Version: osTicket v1.9.12
Ty for the help.

Comments

  • edited December 2017
    something like that
  • edited December 2017
    Please help us to help you by reading and following the posting guidelines located in this thread: Please read before requesting assistance.  The more information you give us the better we will be able to assist you. Thank you.

    You say all active users, and then show us a list of agents.  So which is it?

    You would need to make a list of "active users".
    You would then need to go to Admin panel -> Manage -> Lists.  And create a list using the list that you created.
    You would then go to Admin panel -> Manage -> Forms and add the list to built in: Ticket Details form.

  • Sorry. It's a active users list, but in the system it shows to the user as agents.

    I tried on this way, but the users list need to be a dynamic list. So when I add a new user, I do not have to go to the list and edit it to add this new user, u know?

    Thanks for the attention and also for the help!
  • I think you would need to write a plugin to achive this, have a look at this one: https://github.com/Micke1101/OSTicket-plugin-field-radiobuttons

    But instead of radiobuttons create a combobox that the plugin will populate with active agents.
  • Do you know if there is any way in the plugin code, to let it bring only the active users on the label I choose which radiobutton options?

    Thank you for the help!
  • You’d have to edit the plugin and instead of getting the options from config, do a ORM request on agent objects and add the filter of active and then add the fields id and name.
    That should give you what you need
  • I finished that part. Thanks for the help.
Sign In or Register to comment.