Oh I had this down as running a script against ALL tickets. That’s on me. If it’s just one ticket are you able to use the magnifying glass icon next to the asset and click the “scripts” button? Or is what you are really missing the write back to the ticket part?
Thinking out loud, you could use the ticket ID as a script variable, type that in when you run a script using the asset modal like I described above, enter the ID and it would write back to your ticket… would that work for you?