This user script takes advantage of a comment identifier already provided by ZenDesk to generate a link that includes that comment identifier. That generated link looks something like this:
When using a URL that includes the comment identifier, the user script will do the following in order to emulate the behavior of a comment permalink:
However, the emulated comment permalinks have three notable limitations:
The limitations weren't problematic for our team since much of our internal communication occurs between people who have access to the agent views, and we don't really use side conversations, so I've left the problems unsolved.