Hello,

I would like to have a feedback on the use of OsTicket.

I would like to customize a ticket creation form by creating a dynamic field (drop-down list type) which takes an API as a data source. Depending on the choice, I would also like to change the content of the ticket to create by adding more or less informations also from API.

Is it possible to achieve this simply (or not) with OsTicket (latest version)? If so, where can I find documentation on this?

Thank you in advance for your help

  • Jumboteam is correct to an extent.
    You can add custom fields to your tickets (and forms).
    You cannot populate a drop down by using an API like you mention in the UI.

    If you know any programming language that can talk an API and a MySQL DB then you can write some code to make the api call and get the information and inject it into your database on a schedule (cron / task scheduler) with a custom script. While It is not something that I have done, I do recall someone else posting about doing it previously here on the forums.

You can customize the fields for ticket form but you cannot call third party API in ticket form as per your requirement.

Jumboteam is correct to an extent.
You can add custom fields to your tickets (and forms).
You cannot populate a drop down by using an API like you mention in the UI.

If you know any programming language that can talk an API and a MySQL DB then you can write some code to make the api call and get the information and inject it into your database on a schedule (cron / task scheduler) with a custom script. While It is not something that I have done, I do recall someone else posting about doing it previously here on the forums.

9 days later

OK, thank you for your answers.

I can't use dynamic lists, because it would have to include too many elements. I was thinking more of an auto-completion type search field with querying an API.

We are going to do this with a specific interface that will create the ticket in osTicket through API.

Write a Reply...