Menu

Ticket reference formats

2024-10-10
2024-10-10
  • Imad Saddik

    Imad Saddik - 2024-10-10

    Hello iTop community,

    I'm currently working with the iTop API to retrieve tickets. Initially, I was using the UserRequest class, which has ticket references in the format R-XXXXXX. However, I've discovered that there are other ticket types, such as Demand (with references like D-XXXXXX) and Incident.

    After some research I found that all these ticket types inherit from a base Ticket class. To create a comprehensive implementation, I need to know the reference formats for all ticket types derived from the Ticket class.

    Could someone please provide a list of all the ticket types and their corresponding reference formats? Thank you for your help,

    Imad SADDIK

     
  • Jeffrey Bostoen

    Jeffrey Bostoen - 2024-10-10

    "Demand" is not a part of the standard iTop datamodel: so it looks like you're already using a customization. Perhaps just look at what's in the database table "ticket" - column "ref"?

     
  • Imad Saddik

    Imad Saddik - 2024-10-10

    Yes, we are doing some customization internally.

    This is what I found, take the class Name and use the first character ask a prefix for the reference. For example:

    UserRequest : R-xxxxxx
    Demand : D-xxxxxx
    Incident : I-xxxxxx

    Etc, I hope this helps.

     

Log in to post a comment.

MongoDB Logo MongoDB