Menu

how do i find the owner of a ticket or incident

mercesdes
2014-09-02
2014-09-03
  • mercesdes

    mercesdes - 2014-09-02

    The issue is, how do i find the owner of a ticket or incident in itop.
    NB: 1. The owner in this context means, the user who created the ticket or incident.
    2. Not the Agent or Caller but the owner of the ticket or incident..

    Counting on your help!
    Thanks in advance

     
  • Marco Lima

    Marco Lima - 2014-09-02

    You will have to do query some of the "priv_change" and "priv_changeop_XX" tables and come up with a query for that as the "user who created the ticket" isn't store in the Tickets table.

    You'll have stitch together all those tables and then link them to the Ticket's table into a query (or even better into a View) to be able to see what you want.

     
  • Leonardo Méndez

    If you can access the database, you could execute:

    select objkey, objclass, userinfo from priv_change P join priv_changeop O on P.id = O.id WHERE optype='CMDBChangeOpCreate' AND objclass IN ('UserRequest', 'Incident');

    to know who created each ticket;

     
  • Mohamed El-Sawy

    Mohamed El-Sawy - 2014-09-03

    I have the same issue, but when I'm trying to execute the following statement:
    SELECT priv_change
    I get the following error:
    An error occured while running the query: Unknown class, found 'priv_change' in: SELECT priv_change
    so any ideas??

     
  • TheBigOne

    TheBigOne - 2014-09-03

    priv_change is not a class, but a table in your database. Its not OQL but SQL.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.