Menu

How to allow user to edit Incident Title or cancel or close the incident from Portal

2021-02-18
2021-03-05
  • Karthik Reddy

    Karthik Reddy - 2021-02-18

    Hello ,

    Can someone guide me on how we can make users from portal can edit ongoing incident title or cancel/close the incident from portal ? Currently it is only allowing to update by adding additional notes or attachments , all other fields are read only.

    Appreciate your help.

    Thanks,
    Karthik

     
  • Vincent @ Combodo

    Hello Karthik,
    It requires you to write an iTop extension, just that if you have never done it, will take you a day to understand, then:
    1. You will need to change the user rights of the "Portal User" to allow them to apply the ev_close stimulus
    2. You will need to change the default portal form for ticket edit, and remove the read-only flag on the title field in the twig. You could do it on other fields as well.
    Those 2 changes are entirely in XML, so no php knowledge required for that.

    Those 2 tutorials aren't doing what you want but they talk about the same domains
    https://www.itophub.io/wiki/page?id=2_7_0%3Acustomization%3Aadd-profile-sample
    https://www.itophub.io/wiki/page?id=2_7_0%3Acustomization%3Amandatory-in-portal
    Good luck
    Vincent

     
    👍
    1
  • Karthik Reddy

    Karthik Reddy - 2021-02-19

    Thanks a Vincent for pointing me to the right direction. I have created some simple extensions before so I will give it a try and hopefully I can achieve it.

    Thanks again for your active contribution to the community posts.

     
  • Kenvshin

    Kenvshin - 2021-02-25

    Hi, Vicent could you check that issue when i install sample extension on itop ?
    i have copied sample module to itop folder and check permission :

    but when i run setup itop didn't show up itop extension wizard and run straight to install new module itop . Thanks !

     
  • Pierre Goiffon

    Pierre Goiffon - 2021-03-02

    Can you share your code using GitHub or similar ?

     
    • Kenvshin

      Kenvshin - 2021-03-05

      I figured it myself, no problem at all just because i'm not familiar with manual install extension. Thank you !

       

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.