How to disable child tickets after connecting it Parent ticket

zaxjun
Tera Contributor

I wanted to disable all the fields in child tickets if it will be connected to a parent incident(not implemented). The only way to update it is thru the parent incident(which is already implemented)

 

Any idea what's the best way to disable it?

And enable again if disconnected to a parent ticket.

 

Thank you!

1 ACCEPTED SOLUTION

Community Alums
Not applicable

Hi,

 

You can write a onLoad client script which makes all fields read only on the child incident. For your reference, I have created a quick short video. Let me know if you have further questions.

 

Please mark this comment as Correct Answer/Helpful if it helped you.

 

Cheers,

Hardit Singh

 

View solution in original post

6 REPLIES 6

Eswar Chappa
Mega Sage
Mega Sage

Hi @zaxjun Can you please elaborate your requirement as you need to disable editing on the child incidents once they are connected to Parent incident in list and forms right?

 

Yes, disable the editing in the form of child ticket.

Community Alums
Not applicable

Hi,

 

You can write a onLoad client script which makes all fields read only on the child incident. For your reference, I have created a quick short video. Let me know if you have further questions.

 

Please mark this comment as Correct Answer/Helpful if it helped you.

 

Cheers,

Hardit Singh

 

Hi @Community Alums I assume ACL is better than Client script in this scenario. With the current solution of Client script it will allow user to update in list view.I suggest something like updating the write ACL to add additional condition to allow user with edit access when there is no Parent incident associated with the incident.

It was just my thought, Please suggest me if there is flaws in my approach @Community Alums