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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
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...
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
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.
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.
Last edit: batoul alsharef 2019-06-19
I also would need this function. :-(
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...
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