ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    osTicket: How to Query a Ticket Subject for a Report

    IT Discussion
    osticket osticket 1.10 mysql mariadb sql query report
    1
    1
    1.2k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      scottalanmiller
      last edited by

      osTicket can be a little obtuse. The title of a ticket is hidden in the ticket__cdata table, which by default is ost_ticket__cdata in the subject column.

      Take a quick peek and you will see it.

      SELECT * FROM ost_ticket__cdata LIMIT 4;
      

      Now, knowing what it is called and where to find it, you can use ost_ticket__cdata in your queries. Notice that there are two underscores together in that table name.

      1 Reply Last reply Reply Quote 3
      • 1 / 1
      • First post
        Last post