Menu

close parent ticket

2019-06-16
2019-06-20
  • batoul alsharef

    batoul alsharef - 2019-06-16

    please iam a new in itop and i want a way to close parent ticket if all its child tickets has been closed
    and Prevent anyone to close parent ticket
    thanks for any help

     
  • Jeffrey Bostoen

    Jeffrey Bostoen - 2019-06-18

    You'll need to develop an extension to do this.

    Prevent parent ticket being closed: you'll need to write a PHP extension and look into OnCheckToWrite() method. That way, you can give a warning instead. https://www.combodo.com/documentation/api-ref-extensions/classes/iApplicationObjectExtension.html

    If you don't want the child tickets to be closed when the parent ticket is closed, you'll need to overrule this behavior by creating an extension which overrules the default XML datamodel. Either you prevent ResolveChildTickets() from being called on state changes; or you overrule this method and make sure nothing happens.

     
  • batoul alsharef

    batoul alsharef - 2019-06-19

    please i want to close parent ticket automaticlly if all children tickets have been closed(not
    Reverse) @jeffrey

    and i want to prevent any one to close or reslove parent ticket(like image below) delete resolve and reassign buttom from parent ticket only not childern tickets.

    thanks for your help.

     
  • batoul alsharef

    batoul alsharef - 2019-06-19
     

    Last edit: batoul alsharef 2019-06-19
  • Vasek

    Vasek - 2019-06-19

    I also would need this function. :-(

     
  • Vincent @ Combodo

    Instead of using child Ticket, I have the feeling that you could use WorkOrder instead of Child Ticket. WorkOrders are linked to a Ticket, can be closed one by one, then the parent Ticket can be closed only when all WorkOrders are... To be checked...

     
  • batoul alsharef

    batoul alsharef - 2019-06-20

    thanks alot for your answer :)
    how i can view the work order via portal? and can the agent close his own workorder and how?
    @vdumas

     

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.