Issue with Client Script Not Working After Moving from Dev to Test Instance

sunilsargam
Tera Guru

Hey folks, I’m facing a weird issue and hoping someone here can help me figure it out.

I’ve written a client script that shows/hides form sections based on the ticket type. In my Dev instance, it works great—no issues at all.

 

But when I migrate that same script to my Test instance, it doesn’t work. I've tried everything: re-importing via update set, validating the script, even checking for possible conflicts. Nothing seems to fix it.

 

Here’s the kicker: if I manually recreate the same script directly in Test, it works perfectly. Same code, same settings—just created fresh.

So now I’m wondering:

  • Is it something to do with update sets not transferring something essential?

  • Could there be caching issues that prevent the moved script from triggering?

  • Am I missing a setting that doesn’t copy over?

Would love to hear if anyone has run into this kind of problem and what you did to fix it. Thanks in advance!

 
5 REPLIES 5

Pranesh072
Mega Sage
Mega Sage

Can you share the client script you imported from dev and one you directly created on test.