Integrity help needed for emailadvance.js script to send link pointing to the originating server
Want to know if anyone knows how to have the link that emailadvance.js sends in the body of the email to point back to the actual URL: location that the email was sent from.
In other words if I have an email rule that sends an email to someone from the staging server, I want the link to point back to the staging server not the production. It appears this is a hard coded process from the parameters passed in to the script.
This causes issues when testing and the test causes the trigger to fire it sends and email pointing to production instead of test. I know it can be done some way because if I use a link from the Issue number, ie. User id, on the staging side it sends the link pointing to the staging server not production

