Menu

How to change fields on a ticket request?

2023-02-28
2023-03-01
  • Marcal Henrique Dutra

    I need help to finish some customizations to an iTop instance.

    Basically, I wish to either remove completely both "title", "impact" and "urgency" fields from a Request Ticket creation on User Portal (preferably), or to change them to read-only and specify a default value.

    How can that be done? I assume it's through the creation of an extension?

    Help is much appreciated.

     
  • Jeffrey Bostoen

    Jeffrey Bostoen - 2023-03-01

    You'd need to create an iTop extension.

    There's some really good documentation by Combodo. And some official examples; but there's a lot more in this repository too on how to accomplish certain things.

    Most useful resources are:

    https://www.itophub.io/wiki/page?id=latest%3Acustomization%3Axml_reference
    https://www.itophub.io/wiki/page?id=latest%3Acustomization%3Adatamodel#content_of_a_module
    

    There's also this to prefill the title field (mind: if you remove it from user request, you would also need to remove it for other ticket classes such as incident etc; or redefine it so it's only there for those classes).

    https://www.itophub.io/wiki/page?id=3_0_0:customization:form_prefill might also be of interest, as well as https://www.itophub.io/wiki/page?id=3_0_0:customization:read-only-field

     

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.