It's possible?I need to insert a select field with all active users in the help topic form, something like that, which is attached or the link below:https://imgur.com/a/zb9OXPlease help me, i'm stacked on it :/Version: osTicket v1.9.12Ty for the help.

help.png

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

2 years later
Write a Reply...