How to inject a value to JS web-resource item at run time from a properties file

Arun Sasikumar January 22, 2018

Hi Friends,

I am loading a js file every time as a web-resource with Context - atl.general in my Jira instance. I am making an AJAX call using this JS file and I want the URL for AJAX call to be injected from a properties file or from elsewhere. My intention is to avoid hardcoding the URL in this JS file. how can i achieve this? 

thanks in advance!

-Arun

0 answers

Suggest an answer

Log in or Sign up to answer